mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 19:29:22 +01:00
29 lines
657 B
Bash
Executable File
29 lines
657 B
Bash
Executable File
#!/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
|
|
|
|
# Firefox ESR
|
|
ln -siv /etc/firefox /etc/firefox-esr
|
|
|
|
# Chromium
|
|
mkdir -p /etc/opt/chromium/policies/managed
|
|
|
|
# Brave
|
|
ln -siv /etc/opt/chromium /etc/brave
|
|
|
|
# Vivaldi
|
|
ln -siv /etc/opt/chromium /etc/chromium
|
|
|
|
# Google Chrome
|
|
ln -siv /etc/opt/chromium /etc/opt/chrome
|
|
|
|
# Microsoft Edge
|
|
ln -siv /etc/opt/chromium /etc/opt/edge
|
|
|
|
set +x
|