home · contact · privacy
Improve static website setup script.
[config] / bookworm / setup_scripts / setup_firefox.sh
1 #!/bin/sh
2 set -e
3 . ./misc.sh
4
5 # Install Firefox directly from Mozilla.
6 firefox_release="115.3.1esr"
7 firefox_filename="firefox-${firefox_release}.tar.bz2"
8 url_firefox="https://ftp.mozilla.org/pub/firefox/releases/${firefox_release}/linux-x86_64/en-US/${firefox_filename}"
9 wget "${url_firefox}"
10 mv "${firefox_filename}" /opt/
11 cd /opt/
12 tar xf "${firefox_filename}"
13 rm "${firefox_filename}"
14 ln -f -s /opt/firefox/firefox /usr/local/bin/
15 update-alternatives --install /usr/bin/x-www-browser x-www-browser /opt/firefox/firefox 200
16 update-alternatives --set x-www-browser /opt/firefox/firefox
17
18 echo "TODO: Install uBlock Origin and tridactyl plugins, run :installnative and :source."
19