summaryrefslogtreecommitdiff
path: root/scripts/prep-librewolf-dpkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh10
1 files changed, 5 insertions, 5 deletions
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
bgstack15