Commit 10e98bcb authored by Vitaly Lipatov's avatar Vitaly Lipatov

chromium-gost-stable.sh: drop obsoleted menu file

parent 4e59f438
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
BUILDROOT="$1" BUILDROOT="$1"
SPEC="$2" SPEC="$2"
PRODUCT=chromium-gost
subst 's|%dir "/opt/chromium-gost"|%dir "/opt/chromium-gost"\n/usr/share/icons/hicolor/*x*/apps/*.png|' $SPEC subst 's|%dir "/opt/chromium-gost"|%dir "/opt/chromium-gost"\n/usr/share/icons/hicolor/*x*/apps/*.png|' $SPEC
# Make relative symlink # Make relative symlink
...@@ -18,6 +20,11 @@ done ...@@ -18,6 +20,11 @@ done
rm -f $BUILDROOT/etc/cron.daily/chromium-gost rm -f $BUILDROOT/etc/cron.daily/chromium-gost
subst 's|.*/etc/cron.daily/chromium-gost.*||' $SPEC subst 's|.*/etc/cron.daily/chromium-gost.*||' $SPEC
# unsupported format
rm -f $BUILDROOT/usr/share/menu/$PRODUCT.menu
subst "s|.*/usr/share/menu/$PRODUCT.menu.*||" $SPEC
subst 's|exec -a "$0" "$HERE/chrome" "$@"||' $BUILDROOT/opt/chromium-gost/chromium-gost subst 's|exec -a "$0" "$HERE/chrome" "$@"||' $BUILDROOT/opt/chromium-gost/chromium-gost
cat <<EOF >>$BUILDROOT/opt/chromium-gost/chromium-gost cat <<EOF >>$BUILDROOT/opt/chromium-gost/chromium-gost
if ! [[ "\$*" =~ \-user\-data\-dir= ]]; then if ! [[ "\$*" =~ \-user\-data\-dir= ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment