From f18a66faef3fef48a2d9b876a33f8c9e18f83341 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 31 Jul 2024 11:04:19 +0300 Subject: [PATCH] init-browser-policies.bash: let's be honest, there ln flags are far more memorable --- etc/init-browser-policies.bash | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/init-browser-policies.bash b/etc/init-browser-policies.bash index f2dc838d..a2bc7d38 100755 --- a/etc/init-browser-policies.bash +++ b/etc/init-browser-policies.bash @@ -27,7 +27,7 @@ printf "WARNING! LibreWolf default profile may be masked!\nhttps://codeberg.org/ # existing. # Firefox ESR -ln -fnsv /etc/firefox /etc/firefox-esr +ln -nsfv /etc/firefox /etc/firefox-esr # Chromium mkdir -vp /etc/opt/chromium/policies/{managed,recommended} @@ -38,28 +38,28 @@ chmod -v a+rx /etc/opt/chromium/policies/{managed,recommended}/ # Brave mkdir -p /etc/brave setfacl --recursive --modify=u:root:rw,o:rx /etc/brave -ln -fnsv /etc/opt/chromium/policies /etc/brave/policies +ln -nsfv /etc/opt/chromium/policies /etc/brave/policies # Vivaldi mkdir -p /etc/chromium setfacl --recursive --modify=u:root:rw,o:rx /etc/chromium -ln -fnsv /etc/opt/chromium/policies /etc/chromium/policies +ln -nsfv /etc/opt/chromium/policies /etc/chromium/policies # Google Chrome mkdir -p /etc/opt/chrome setfacl --recursive --modify=u:root:rw,o:rx /etc/opt/chrome -ln -fnsv /etc/opt/chromium/policies /etc/opt/chrome/policies +ln -nsfv /etc/opt/chromium/policies /etc/opt/chrome/policies # Naggig suspicion of another Google Chrome mkdir -p /etc/chrome setfacl --recursive --modify=u:root:rw,o:rx /etc/chrome -ln -fnsv /etc/opt/chromium/policies /etc/chrome/policies +ln -nsfv /etc/opt/chromium/policies /etc/chrome/policies # Microsoft Edge # I used to have a separate policy for it so remember to remove this manually # if it exists! mkdir -p /etc/opt/edge setfacl --recursive --modify=u:root:rw,o:rx /etc/opt/edge -ln -fnsv /etc/opt/chromium/policies /etc/opt/edge/policies +ln -nsfv /etc/opt/chromium/policies /etc/opt/edge/policies set +x