mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
init-browser-policies.bash: create browser directories and symlink just policies directory
Resolves: plasma-browser-extension failing to install and unpack due to edge/native-messaging-hosts being a symlink to existing file
This commit is contained in:
parent
cb57ba5e3e
commit
6d2dc44b39
@ -34,17 +34,21 @@ chmod -v a+rx /etc/opt/chromium/policies/
|
||||
chmod -v a+rx /etc/opt/chromium/policies/{managed,recommended}/
|
||||
|
||||
# Brave
|
||||
ln -fnsv /etc/opt/chromium /etc/brave
|
||||
mkdir -p /etc/brave
|
||||
ln -fnsv /etc/opt/chromium/policies /etc/brave/policies
|
||||
|
||||
# Vivaldi
|
||||
ln -fnsv /etc/opt/chromium /etc/chromium
|
||||
mkdir -p /etc/chromium
|
||||
ln -fnsv /etc/opt/chromium/policies /etc/chromium/policies
|
||||
|
||||
# Google Chrome
|
||||
ln -fnsv /etc/opt/chromium /etc/opt/chrome
|
||||
mkdir -p /etc/opt/chrome
|
||||
ln -fnsv /etc/opt/chromium/policies /etc/opt/chrome/policies
|
||||
|
||||
# Microsoft Edge
|
||||
# I used to have a separate policy for it so remember to remove this manually
|
||||
# if it exists!
|
||||
ln -fnsv /etc/opt/chromium /etc/opt/edge
|
||||
mkdir -p /etc/opt/edge
|
||||
ln -fnsv /etc/opt/chromium/policies /etc/opt/edge/policies
|
||||
|
||||
set +x
|
||||
|
Loading…
Reference in New Issue
Block a user