home · contact · privacy
Setup Firefox: overwrite old link.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 28 Jan 2022 18:19:31 +0000 (19:19 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 28 Jan 2022 18:19:31 +0000 (19:19 +0100)
bullseye/setup_scripts/setup_firefox.sh

index e229c89de31f8151504ff64f997070d19539ec28..3f4ba354f03764ae2c8e0954f7a3c797124f4937 100755 (executable)
@@ -10,6 +10,6 @@ mv "${firefox_filename}" /opt/
 cd /opt/
 tar xf "${firefox_filename}"
 rm "${firefox_filename}"
-ln -s /opt/firefox/firefox /usr/local/bin/
+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