From 05af7e748a62b71f20597bb559106c8692c34ef4 Mon Sep 17 00:00:00 2001 From: Christian Heller <c.heller@plomlompom.de> Date: Wed, 2 Aug 2023 00:20:05 +0200 Subject: [PATCH] Add Firefox setup. --- bookworm/setup_scripts/setup_firefox.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 bookworm/setup_scripts/setup_firefox.sh diff --git a/bookworm/setup_scripts/setup_firefox.sh b/bookworm/setup_scripts/setup_firefox.sh new file mode 100755 index 0000000..2d372ff --- /dev/null +++ b/bookworm/setup_scripts/setup_firefox.sh @@ -0,0 +1,19 @@ +#!/bin/sh +set -e +. ./misc.sh + +# Install Firefox directly from Mozilla. +firefox_release="102.14.0esr" +firefox_filename="firefox-${firefox_release}.tar.bz2" +url_firefox="https://ftp.mozilla.org/pub/firefox/releases/${firefox_release}/linux-x86_64/en-US/${firefox_filename}" +wget "${url_firefox}" +mv "${firefox_filename}" /opt/ +cd /opt/ +tar xf "${firefox_filename}" +rm "${firefox_filename}" +ln -f -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 + +echo "TODO: Install uBlock Origin and tridactyl plugins, run :installnative and :source." + -- 2.30.2