diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-02-02 19:21:20 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2021-02-02 19:21:20 +0100 |
commit | 46ea3a21e8fa258c9978d5ddf8c0d034e32e5221 (patch) | |
tree | ae567bb8a2040371a46639ac5273ebe53523dfea /scripts/prep-librewolf-dpkg.sh | |
parent | add dependencies (diff) | |
download | librewolf-debian-46ea3a21e8fa258c9978d5ddf8c0d034e32e5221.tar.gz librewolf-debian-46ea3a21e8fa258c9978d5ddf8c0d034e32e5221.tar.bz2 librewolf-debian-46ea3a21e8fa258c9978d5ddf8c0d034e32e5221.zip |
fix sed pathes
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-x | scripts/prep-librewolf-dpkg.sh | 10 |
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 |