aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-01-29 08:13:08 -0500
committerB Stack <bgstack15@gmail.com>2021-01-29 08:13:08 -0500
commit17808dd8c6b92700a4b031e5b54e1c45cbd1f591 (patch)
treeff50db12ec23376ec4e98fa1bdc40d936f190bd7
parentupdate prep-librewolf-dpkg for 84.0.2 (diff)
downloadlibrewolf-linux-17808dd8c6b92700a4b031e5b54e1c45cbd1f591.tar.gz
librewolf-linux-17808dd8c6b92700a4b031e5b54e1c45cbd1f591.tar.bz2
librewolf-linux-17808dd8c6b92700a4b031e5b54e1c45cbd1f591.zip
add notes from !12
ohfp provided improvements at [!12#note_495484399](https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/12#note_495484399)
-rwxr-xr-xprep-librewolf-dpkg.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/prep-librewolf-dpkg.sh b/prep-librewolf-dpkg.sh
index 584c67e..4715447 100755
--- a/prep-librewolf-dpkg.sh
+++ b/prep-librewolf-dpkg.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# File: prep-librewolf-dpkg.sh
# Location: https://gitlab.com/bgstack15/librewolf-linux.git
-# Latest supported version: librewolf-84.0-3
+# Latest supported version: librewolf-84.0.2-2
# Author: bgstack15
# SPDX-License-Identifier: CC-BY-SA-4.0
# Startdate: 2020-11-29
@@ -195,6 +195,16 @@ sed -i -e '/%if browser/,+2s/firefox/librewolf/' \
-e '/%if CRASH_REPORTER/s/CRASH_REPORTER/CRASH_REPORTER_ENABLED/' \
"${debian_dir}"/browser.install.in
+# instruct dpkg to include the librewolf settings
+rm -rf "${debian_dir}"/librewolf_settings
+cp -pr "${git_source_dir}"/settings "${debian_dir}"/librewolf_settings
+rm -rf "${debian_dir}"/librewolf_settings/.git*
+cat <<EOF >> "${debian_dir}"/browser.install.in
+librewolf_settings/librewolf.cfg usr/lib/@browser@
+librewolf_settings/defaults usr/lib/@browser@
+librewolf_settings/distribution usr/lib/@browser@
+EOF
+
# add changelog contents for LibreWolf
new_changelog="$( mktemp )"
{
bgstack15