Commit 41696bef authored by Jan Groenewald's avatar Jan Groenewald
Browse files

Fix aims-install-latest-firefox

parent 43dd108c
......@@ -5,13 +5,14 @@ read
rm -rf /usr/local/lib/firefox
wget -cO /tmp/FirefoxSetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-ZA"
tar xf /tmp/FirefoxSetup.tar.bz2 /usr/local/lib/firefox
mkdir -p /usr/local/lib/firefox
tar -xf /tmp/FirefoxSetup.tar.bz2 -C /usr/local/lib/
cp -f /usr/share/applications/firefox-esr.desktop /usr/share/applications/firefox.desktop
sed -i 's/Firefox ESR/Firefox/' /usr/share/applications/firefox.desktop
sed -i 's/Exec=/usr/lib/firefox-esr/firefox-esr %u/Exec=/usr/local/lib/firefox/firefox %u' /usr/share/applications/firefox.desktop
sed -i 's#Exec=/usr/lib/firefox-esr/firefox-esr %u#Exec=/usr/local/lib/firefox/firefox %u#' /usr/share/applications/firefox.desktop
sed -i 's/StartupWMClass=Firefox-esr/StartupWMClass=Firefox/' /usr/share/applications/firefox.desktop
export VERSION=`/usr/local/lib/firefox/firefox --version|cut -d' ' -f3`
sed -i "s/Name=Firefox/Name=Firefox $VERSION/"
sed -i "s/Name=Firefox/Name=Firefox $VERSION/" /usr/share/applications/firefox.desktop
update-desktop-database /usr/share/applications/
ln -s /usr/local/lib/firefox/firefox /usr/local/bin/firefox
[ -L /usr/local/bin/firefox ] || ln -s /usr/local/lib/firefox/firefox /usr/local/bin/firefox
aims-desktop (1:2019.03.03) stretch; urgency=medium
* Fixes to aims-install-latest-firefox
-- Jan Groenewald <jan@aims.ac.za> Mon, 25 Mar 2019 10:17:01 +0000
aims-desktop (1:2019.03.02) stretch; urgency=medium
* Non-maintainer upload.
......
......@@ -5,13 +5,14 @@ read
rm -rf /usr/local/lib/firefox
wget -cO /tmp/FirefoxSetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-ZA"
tar xf /tmp/FirefoxSetup.tar.bz2 /usr/local/lib/firefox
mkdir -p /usr/local/lib/firefox
tar -xf /tmp/FirefoxSetup.tar.bz2 -C /usr/local/lib/
cp -f /usr/share/applications/firefox-esr.desktop /usr/share/applications/firefox.desktop
sed -i 's/Firefox ESR/Firefox/' /usr/share/applications/firefox.desktop
sed -i 's/Exec=/usr/lib/firefox-esr/firefox-esr %u/Exec=/usr/local/lib/firefox/firefox %u' /usr/share/applications/firefox.desktop
sed -i 's#Exec=/usr/lib/firefox-esr/firefox-esr %u#Exec=/usr/local/lib/firefox/firefox %u#' /usr/share/applications/firefox.desktop
sed -i 's/StartupWMClass=Firefox-esr/StartupWMClass=Firefox/' /usr/share/applications/firefox.desktop
export VERSION=`/usr/local/lib/firefox/firefox --version|cut -d' ' -f3`
sed -i "s/Name=Firefox/Name=Firefox $VERSION/"
sed -i "s/Name=Firefox/Name=Firefox $VERSION/" /usr/share/applications/firefox.desktop
update-desktop-database /usr/share/applications/
ln -s /usr/local/lib/firefox/firefox /usr/local/bin/firefox
[ -L /usr/local/bin/firefox ] || ln -s /usr/local/lib/firefox/firefox /usr/local/bin/firefox
aims-desktop (2020.18) buster; urgency=medium
* Fix aims-install-latest-firefox
-- Jan Groenewald <jan@aims.ac.za> Mon, 25 Mar 2019 10:18:17 +0000
aims-desktop (2020.17) buster; urgency=medium
* Non-maintainer upload.
......
Supports Markdown
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