mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 14:49:31 +01:00
30 lines
705 B
Bash
Executable File
30 lines
705 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
|
|
mkdir -p /etc/opt/chromium/policies/recommended
|
|
|
|
# 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
|