init-browser-policies.bash: manage Edge recommended profiles separately

This commit is contained in:
Aminda Suomalainen 2024-04-29 12:15:26 +03:00
parent 64a3f8c370
commit d377157b46
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -24,6 +24,11 @@ ln -siv /etc/opt/chromium /etc/chromium
ln -siv /etc/opt/chromium /etc/opt/chrome
# Microsoft Edge
ln -siv /etc/opt/chromium /etc/opt/edge
# NOTE! It breaks chrome:// URLs so the recommended policy apps as new tab page
# won't work and wants to open Firefox instead, so I am managing the recommended
# policy separately
#ln -siv /etc/opt/chromium /etc/opt/edge
mkdir -p /etc/opt/edge/policies/recommended
ln -siv /etc/opt/chromium/policies/managed /etc/opt/edge/policies/managed
set +x