From 7d1e8b2755cbe9c087ba63afda07a892c8103272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Guzm=C3=A1n?= <ark@switnet.org> Date: Fri, 10 Jun 2022 02:02:20 +0000 Subject: [PATCH] ubuntu-mate-settings: Remove firefox policy ubutu-mate-settings 11.0 --- helpers/make-ubuntu-mate-settings | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/helpers/make-ubuntu-mate-settings b/helpers/make-ubuntu-mate-settings index 9102eb20..132d60e7 100644 --- a/helpers/make-ubuntu-mate-settings +++ b/helpers/make-ubuntu-mate-settings @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=4 +VERSION=5 . ./config @@ -96,6 +96,16 @@ rm $(find -name caja-dropbox-autostart) rm $(find -name caja-dropbox-autostart.desktop) sed '/dropbox/d' -i debian/ubuntu-mate-default-settings.install +#Remove abrowser/firefox policies (starting on Jammy/Aramo). +rm etc/firefox/policies/policies.json + +#sed -i '/exit/i if [ -f /etc/firefox/policies/policies.json ]; then' debian/ubuntu-mate-default-settings.postinst \ +# debian/ubuntu-mate-default-settings.postrm +#sed -i '/exit/i rm -f /etc/firefox/policies/policies.json' debian/ubuntu-mate-default-settings.postinst \ +# debian/ubuntu-mate-default-settings.postrm +#sed -i '/exit/i fi' debian/ubuntu-mate-default-settings.postinst \ +# debian/ubuntu-mate-default-settings.postrm + changelog "Customized for Trisquel" compile -- GitLab