mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 03:02:52 +01:00
etc: add quick script init-browser-policies.bash
This commit is contained in:
parent
e672d04d46
commit
f4c796c5ed
25
etc/init-browser-policies.bash
Executable file
25
etc/init-browser-policies.bash
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# This script will create the direcories or symlinks that browsers look for
|
||||||
|
# their policies. The user is trusted to setup those manually.
|
||||||
|
set -x
|
||||||
|
|
||||||
|
# Firefox and LibreWolf (caution! https://codeberg.org/librewolf/issues/issues/1767)
|
||||||
|
mkdir -p /etc/firefox/policies
|
||||||
|
#touch /etc/firefox/policies/policies.json
|
||||||
|
|
||||||
|
# Chromium
|
||||||
|
mkdir -p /etc/opt/chromium/policies/managed
|
||||||
|
|
||||||
|
# Brave
|
||||||
|
ln -s /etc/opt/chromium /etc/brave
|
||||||
|
|
||||||
|
# Vivaldi
|
||||||
|
ln -s /etc/opt/chromium /etc/chromium
|
||||||
|
|
||||||
|
# Google Chrome
|
||||||
|
ln -s /etc/opt/chromium /etc/opt/chrome
|
||||||
|
|
||||||
|
# Microsoft Edge
|
||||||
|
ln -s /etc/opt/chromium /etc/opt/edge
|
||||||
|
|
||||||
|
set +x
|
Loading…
Reference in New Issue
Block a user