From: Christian Heller Date: Tue, 1 Aug 2023 22:20:05 +0000 (+0200) Subject: Add Firefox setup. X-Git-Url: https://plomlompom.com/repos/test?a=commitdiff_plain;h=05af7e748a62b71f20597bb559106c8692c34ef4;p=config Add Firefox setup. --- 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." +