Commit b9e20671 authored by Jan Groenewald's avatar Jan Groenewald

Avoid su error in aims-install-latest-firefox

parent 102f9078
......@@ -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=`su -l nobody -s /bin/bash -c '/usr/local/lib/firefox/firefox --version'|cut -d' ' -f3`
export VERSION=`su -l nobody -s /bin/bash -c '/usr/local/lib/firefox/firefox --version' 2>/dev/null|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:2020.58) buster; urgency=medium
* Avoid su error in aims-install-latest-firefox
-- Jan Groenewald <jan@aims.ac.za> Thu, 15 Aug 2019 14:05:18 +0000
aims-desktop (1:2020.57) buster; urgency=medium
* Let Right Click be Right Click
......
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