From 57749b48f65855abad5c8ec61c9d1331a15d60c0 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Fri, 28 Jan 2022 19:19:31 +0100
Subject: [PATCH] Setup Firefox: overwrite old link.

---
 bullseye/setup_scripts/setup_firefox.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.30.2