summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2021-02-02 19:24:30 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2021-02-02 19:24:30 +0100
commitf5174c50de9943f12f973b96774d8df67e55fcaf (patch)
tree6a026bbd24fc02b93f2af07a232e6adadf1d7d47
parentfix sed pathes (diff)
downloadlibrewolf-debian-f5174c50de9943f12f973b96774d8df67e55fcaf.tar.gz
librewolf-debian-f5174c50de9943f12f973b96774d8df67e55fcaf.tar.bz2
librewolf-debian-f5174c50de9943f12f973b96774d8df67e55fcaf.zip
concentrating helps
-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 161861b..63674e9 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 "${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
+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 "${source_dir}"toolkit/mozapps/extensions/internal/XPIInstall.jsm
+sed -z "$_cert_sed" -i "${source_dir}"/toolkit/mozapps/extensions/internal/XPIInstall.jsm
#####################################
# Script 4 tasks
bgstack15