mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
init-browser-policies.bash: let's be honest, there ln flags are far more memorable
This commit is contained in:
parent
45fb267570
commit
f18a66faef
@ -27,7 +27,7 @@ printf "WARNING! LibreWolf default profile may be masked!\nhttps://codeberg.org/
|
|||||||
# existing.
|
# existing.
|
||||||
|
|
||||||
# Firefox ESR
|
# Firefox ESR
|
||||||
ln -fnsv /etc/firefox /etc/firefox-esr
|
ln -nsfv /etc/firefox /etc/firefox-esr
|
||||||
|
|
||||||
# Chromium
|
# Chromium
|
||||||
mkdir -vp /etc/opt/chromium/policies/{managed,recommended}
|
mkdir -vp /etc/opt/chromium/policies/{managed,recommended}
|
||||||
@ -38,28 +38,28 @@ chmod -v a+rx /etc/opt/chromium/policies/{managed,recommended}/
|
|||||||
# Brave
|
# Brave
|
||||||
mkdir -p /etc/brave
|
mkdir -p /etc/brave
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /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
|
# Vivaldi
|
||||||
mkdir -p /etc/chromium
|
mkdir -p /etc/chromium
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /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
|
# Google Chrome
|
||||||
mkdir -p /etc/opt/chrome
|
mkdir -p /etc/opt/chrome
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /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
|
# Naggig suspicion of another Google Chrome
|
||||||
mkdir -p /etc/chrome
|
mkdir -p /etc/chrome
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /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
|
# Microsoft Edge
|
||||||
# I used to have a separate policy for it so remember to remove this manually
|
# I used to have a separate policy for it so remember to remove this manually
|
||||||
# if it exists!
|
# if it exists!
|
||||||
mkdir -p /etc/opt/edge
|
mkdir -p /etc/opt/edge
|
||||||
setfacl --recursive --modify=u:root:rw,o:rx /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
|
set +x
|
||||||
|
Loading…
Reference in New Issue
Block a user