From: Christian Heller <c.heller@plomlompom.de>
Date: Sun, 7 Apr 2019 21:19:17 +0000 (+0200)
Subject: For Buster EeePC setup, install firefox 66 instead of ESR.
X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/cards/%7B%7Bcard_id%7D%7D/todo?a=commitdiff_plain;h=f91a250c42c9baf6711962bfaea6bacdc07889d0;p=config

For Buster EeePC setup, install firefox 66 instead of ESR.
---

diff --git a/buster/apt-mark/eeepc b/buster/apt-mark/eeepc
index 5defcf0..c7885a5 100644
--- a/buster/apt-mark/eeepc
+++ b/buster/apt-mark/eeepc
@@ -25,8 +25,6 @@ xterm
 redshift
 # for alsamixer
 alsa-utils
-# browser
-firefox-esr
 # for xterm and browser unicode display
 ttf-unifont
 # also useful
@@ -35,4 +33,9 @@ sudo
 less
 man-db
 manpages
-
+# firefox dependencies
+libdbus-glib-1-2
+libgtk-3-0
+# firefox installation dependencies (remove later?)
+bzip2
+wget
diff --git a/buster/setup_scripts/setup_eeepc.sh b/buster/setup_scripts/setup_eeepc.sh
index e37d4c7..76cb379 100755
--- a/buster/setup_scripts/setup_eeepc.sh
+++ b/buster/setup_scripts/setup_eeepc.sh
@@ -14,6 +14,17 @@ cd "${setup_scripts_dir}"
 ./copy_dirtree.sh "${config_tree_prefix}/etc_files" "" eeepc
 ./install_for_target.sh eeepc
 
+url_firefox="https://ftp.mozilla.org/pub/firefox/releases/66.0/linux-x86_64/en-US/firefox-66.0.tar.bz2"
+wget "${url_firefox}"
+mv firefox-66.0.tar.bz2 /opt/
+cd /opt/
+tar xf firefox-66.0.tar.bz2
+rm firefox-66.0.tar.bz2
+ln -s /opt/firefox/firefox /usr/local/bin/
+update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 200
+update-alternatives --set x-www-browser /opt/firefox/firefox
+cd "${setup_scripts_dir}"
+
 ./copy_dirtree.sh "${config_tree_prefix}/home_files" "/root" minimal root
 if [ ! -d "/home/plom" ]; then
     adduser --disabled-password --gecos "" plom