Commit d588a89d authored by Jan Groenewald's avatar Jan Groenewald
Browse files

Fix firefox version detection

parent 8970e893
......@@ -12,7 +12,7 @@ cp -f /usr/share/applications/firefox-esr.desktop /usr/share/applications/firefo
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/StartupWMClass=Firefox-esr/StartupWMClass=Firefox/' /usr/share/applications/firefox.desktop
export VERSION=`/usr/local/lib/firefox/firefox --version|cut -d' ' -f3`
export VERSION=`su -l nobody -s /bin/bash -c '/usr/local/lib/firefox/firefox --version'|cut -d' ' -f3`
sed -i "s/Name=Firefox/Name=Firefox $VERSION/" /usr/share/applications/firefox.desktop
update-desktop-database /usr/share/applications/
......
aims-desktop (1:2019.03.07) stretch; urgency=medium
* Fix firefox version detection
-- Jan Groenewald <jan@aims.ac.za> Thu, 28 Mar 2019 07:46:08 +0000
aims-desktop (1:2019.03.06) stretch; urgency=medium
* Add aims-install-signal-desktop
......
......@@ -12,7 +12,7 @@ cp -f /usr/share/applications/firefox-esr.desktop /usr/share/applications/firefo
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/StartupWMClass=Firefox-esr/StartupWMClass=Firefox/' /usr/share/applications/firefox.desktop
export VERSION=`/usr/local/lib/firefox/firefox --version|cut -d' ' -f3`
export VERSION=`su -l nobody -s /bin/bash -c '/usr/local/lib/firefox/firefox --version'|cut -d' ' -f3`
sed -i "s/Name=Firefox/Name=Firefox $VERSION/" /usr/share/applications/firefox.desktop
update-desktop-database /usr/share/applications/
......
aims-desktop (2020.22) buster; urgency=medium
* Fix firefox version detection
-- Jan Groenewald <jan@aims.ac.za> Thu, 28 Mar 2019 07:47:15 +0000
aims-desktop (2020.21) buster; urgency=medium
* Add aims-install-signal-desktop
......
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