wok-current diff firefox-official-fr/receipt @ rev 24441
firefox-official*: prohibit user update
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 14 07:01:08 2022 +0100 (2022-02-14) |
parents | b78e79c31b1f |
children | 5b79596c5d14 |
line diff
1.1 --- a/firefox-official-fr/receipt Fri Feb 11 11:14:46 2022 +0000 1.2 +++ b/firefox-official-fr/receipt Mon Feb 14 07:01:08 2022 +0100 1.3 @@ -14,7 +14,8 @@ 1.4 WGET_URL="http://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/$lang/firefox-$VERSION.tar.bz2" 1.5 1.6 PROVIDE="firefox-official browser-html5" 1.7 -DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc" 1.8 +SUGGESTED="vlc" 1.9 +DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap" 1.10 HOST_ARCH="i486" 1.11 1.12 # What is the latest version available today? 1.13 @@ -30,30 +31,32 @@ 1.14 # Installation path 1.15 fx='/opt/mozilla/firefox' 1.16 1.17 - mkdir -p \ 1.18 - $install$fx \ 1.19 - $install/usr/bin \ 1.20 - $install/usr/share/applications \ 1.21 - $install/usr/share/icons/hicolor/128x128/apps 1.22 + mkdir -p $install$fx 1.23 + mkdir -p $install/usr/bin 1.24 + mkdir -p $install/usr/share/applications 1.25 + mkdir -p $install/usr/share/icons/hicolor/128x128/apps 1.26 1.27 # Copy everything 1.28 - cp -a $src/* $install$fx 1.29 + cp -a $src/* $install$fx 1.30 1.31 # Executable 1.32 - ln -s $fx/firefox $install/usr/bin/firefox-official 1.33 + ln -s $fx/firefox $install/usr/bin/firefox-official 1.34 1.35 # Icons 1.36 ln -s $fx/browser/icons/mozicon128.png \ 1.37 $install/usr/share/icons/hicolor/128x128/apps/firefox-official.png 1.38 - for size in 16 32 48; do 1.39 + for size in 16 32 48 1.40 + do 1.41 icon_folder="$install/usr/share/icons/hicolor/${size}x$size/apps" 1.42 mkdir -p $icon_folder 1.43 ln -s $fx/browser/chrome/icons/default/default$size.png \ 1.44 $icon_folder/firefox-official.png 1.45 - done 1.46 + done 1.47 1.48 # Allow user updates (save user's and our traffic) 1.49 - chmod -R a+w $install$fx 1.50 +# chmod -R a+w $install$fx 1.51 + # Inhibit unprivileged user from updating, 1.52 + # because 77.0 is the last 32 bit version 1.53 1.54 # Desktop shortcut 1.55 cp $stuff/firefox-official.desktop $install/usr/share/applications 1.56 @@ -62,6 +65,6 @@ 1.57 # Rules to gen a SliTaz package suitable for Tazpkg. 1.58 genpkg_rules() 1.59 { 1.60 - cp -a $install/* $fs 1.61 - ln -s firefox-official $fs/usr/bin/browser-html5 1.62 + cp -a $install/* $fs 1.63 + ln -s firefox-official $fs/usr/bin/browser-html5 1.64 }