From 46ea3a21e8fa258c9978d5ddf8c0d034e32e5221 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Tue, 2 Feb 2021 19:21:20 +0100 Subject: fix sed pathes --- scripts/prep-librewolf-dpkg.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh index 7bc4ad8..161861b 100755 --- a/scripts/prep-librewolf-dpkg.sh +++ b/scripts/prep-librewolf-dpkg.sh @@ -180,17 +180,17 @@ sed -i -r -e '/organizationalUnit.{0,5}=.{0,5}Mozilla/{N;N;N;d}' "${source_dir}" sed -i -r -e '/enterprise_only/s#true#false#g;' "${source_dir}"/browser/components/enterprisepolicies/schemas/policies-schema.json # stop some undesired requests (https://gitlab.com/librewolf-community/browser/common/-/issues/10) _settings_services_sed='s#firefox.settings.services.mozilla.com#f.s.s.m.c.qjz9zk#g' -sed "$_settings_services_sed" -i browser/components/newtab/data/content/activity-stream.bundle.js -sed "$_settings_services_sed" -i modules/libpref/init/all.js -sed "$_settings_services_sed" -i services/settings/Utils.jsm -sed "$_settings_services_sed" -i toolkit/components/search/SearchUtils.jsm +sed "$_settings_services_sed" -i "${source_dir}"browser/components/newtab/data/content/activity-stream.bundle.js +sed "$_settings_services_sed" -i "${source_dir}"modules/libpref/init/all.js +sed "$_settings_services_sed" -i "${source_dir}"services/settings/Utils.jsm +sed "$_settings_services_sed" -i "${source_dir}"toolkit/components/search/SearchUtils.jsm # Remove Internal Plugin Certificates _cert_sed='s#if (aCert.organizationalUnit == "Mozilla [[:alpha:]]\+") {\n' _cert_sed+='[[:blank:]]\+return AddonManager\.SIGNEDSTATE_[[:upper:]]\+;\n' _cert_sed+='[[:blank:]]\+}#' _cert_sed+='// NOTE: removed#g' -sed -z "$_cert_sed" -i toolkit/mozapps/extensions/internal/XPIInstall.jsm +sed -z "$_cert_sed" -i "${source_dir}"toolkit/mozapps/extensions/internal/XPIInstall.jsm ##################################### # Script 4 tasks -- cgit