diff options
author | B Stack <bgstack15@gmail.com> | 2021-01-29 08:13:08 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2021-01-29 08:13:08 -0500 |
commit | 17808dd8c6b92700a4b031e5b54e1c45cbd1f591 (patch) | |
tree | ff50db12ec23376ec4e98fa1bdc40d936f190bd7 | |
parent | update prep-librewolf-dpkg for 84.0.2 (diff) | |
download | librewolf-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-x | prep-librewolf-dpkg.sh | 12 |
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 )" { |