diff --git a/src/alpine/install/firefox/install_firefox.sh b/src/alpine/install/firefox/install_firefox.sh index a25c92b..7d58c90 100644 --- a/src/alpine/install/firefox/install_firefox.sh +++ b/src/alpine/install/firefox/install_firefox.sh @@ -21,7 +21,7 @@ done # Creating a default profile firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm" -# For alpine 3.20 and later, firefox version shows a security nag. Silence it. +# For alpine 3.20 and later, firefox version shows a security nag. Silence it.. if [ "$(printf '%s\n' 3.20 $(cat /etc/alpine-release) | sort -V | head -n 1)" = "3.20" ]; then echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js diff --git a/src/ubuntu/install/firefox/install_firefox.sh b/src/ubuntu/install/firefox/install_firefox.sh index 414d3c7..665e3e6 100644 --- a/src/ubuntu/install/firefox/install_firefox.sh +++ b/src/ubuntu/install/firefox/install_firefox.sh @@ -176,7 +176,7 @@ else firefox -headless -CreateProfile "kasm $HOME/.mozilla/firefox/kasm" fi -# Silence Firefox security nag "Some of Firefox's features may offer less protection on your current operating system" +# Silence Firefox security nag "Some of Firefox's features may offer less protection on your current operating system". echo 'user_pref("security.sandbox.warn_unprivileged_namespaces", false);' > $HOME/.mozilla/firefox/kasm/user.js chown 1000:1000 $HOME/.mozilla/firefox/kasm/user.js