From: Christian Heller Date: Fri, 28 Jan 2022 18:19:31 +0000 (+0100) Subject: Setup Firefox: overwrite old link. X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=57749b48f65855abad5c8ec61c9d1331a15d60c0;p=config Setup Firefox: overwrite old link. --- diff --git a/bullseye/setup_scripts/setup_firefox.sh b/bullseye/setup_scripts/setup_firefox.sh index e229c89..3f4ba35 100755 --- a/bullseye/setup_scripts/setup_firefox.sh +++ b/bullseye/setup_scripts/setup_firefox.sh @@ -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