From 17808dd8c6b92700a4b031e5b54e1c45cbd1f591 Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 29 Jan 2021 08:13:08 -0500 Subject: add notes from !12 ohfp provided improvements at [!12#note_495484399](https://gitlab.com/librewolf-community/browser/linux/-/merge_requests/12#note_495484399) --- prep-librewolf-dpkg.sh | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 <> "${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 )" { -- cgit