summaryrefslogtreecommitdiff
path: root/scripts/prep-librewolf-dpkg.sh
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-10-13 09:52:59 -0400
committerB. Stack <bgstack15@gmail.com>2021-10-13 09:52:59 -0400
commitc80221363afcf318463949bf604c202162246dae (patch)
tree8b63763495fc3adef27cfc7e1400cb17e385e88a /scripts/prep-librewolf-dpkg.sh
parentfix mozilla-vpn-ad patch for dpkg only right now (diff)
downloadlibrewolf-debian-c80221363afcf318463949bf604c202162246dae.tar.gz
librewolf-debian-c80221363afcf318463949bf604c202162246dae.tar.bz2
librewolf-debian-c80221363afcf318463949bf604c202162246dae.zip
fix librewolf.cfg and local-settings.js paths
dpkg interprets "$1 $2" in the .install files as source, dest-dir and not source, dest-filename. So the $2 needs to omit the filename entirely.
Diffstat (limited to 'scripts/prep-librewolf-dpkg.sh')
-rwxr-xr-xscripts/prep-librewolf-dpkg.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/prep-librewolf-dpkg.sh b/scripts/prep-librewolf-dpkg.sh
index a5fd7be..5d0c411 100755
--- a/scripts/prep-librewolf-dpkg.sh
+++ b/scripts/prep-librewolf-dpkg.sh
@@ -292,8 +292,8 @@ if test "${DISTRO}" = "debian" ; then
cat <<EOF >> "${debian_dir}"/browser.install.in
-debian/librewolf_settings/@browser@.cfg usr/share/@browser@/@browser@.cfg
-debian/librewolf_settings/defaults/pref/local-settings.js usr/share/@browser@/defaults/pref/local-settings.js
+debian/librewolf_settings/@browser@.cfg usr/share/@browser@
+debian/librewolf_settings/defaults/pref/local-settings.js usr/share/@browser@/defaults/pref
debian/librewolf_settings/distribution/policies.json usr/share/@browser@/distribution/policies.json
EOF
@@ -312,7 +312,7 @@ else
cat <<EOF >> "${debian_dir}"/firefox.install.in
debian/librewolf_settings/librewolf.cfg @MOZ_LIBDIR@/
-debian/librewolf_settings/defaults/pref/local-settings.js @MOZ_LIBDIR@/defaults/pref/local-settings.js
+debian/librewolf_settings/defaults/pref/local-settings.js @MOZ_LIBDIR@/defaults/pref
debian/librewolf_settings/distribution/policies.json @MOZ_LIBDIR@/distribution/policies.json
EOF
bgstack15