From d377157b4671bffef078e3c57785888a42cfdecf Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 29 Apr 2024 12:15:26 +0300 Subject: [PATCH] init-browser-policies.bash: manage Edge recommended profiles separately --- etc/init-browser-policies.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/init-browser-policies.bash b/etc/init-browser-policies.bash index 479179aa..296f039b 100755 --- a/etc/init-browser-policies.bash +++ b/etc/init-browser-policies.bash @@ -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