aboutsummaryrefslogtreecommitdiff
path: root/scripts/02_configure_tarball.sh
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-21 21:51:56 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-21 21:51:56 +0100
commit2d61f26fb68864924b5fdc859044897cab894b76 (patch)
treea326abccaf397899b8a7c101641b7fc8b98ff3c0 /scripts/02_configure_tarball.sh
parentEnable settings by default in Appimage and FlatPak (diff)
downloadlibrewolf-linux-2d61f26fb68864924b5fdc859044897cab894b76.tar.gz
librewolf-linux-2d61f26fb68864924b5fdc859044897cab894b76.tar.bz2
librewolf-linux-2d61f26fb68864924b5fdc859044897cab894b76.zip
actually modify the script that is used during builds atm
Diffstat (limited to 'scripts/02_configure_tarball.sh')
-rwxr-xr-xscripts/02_configure_tarball.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/02_configure_tarball.sh b/scripts/02_configure_tarball.sh
index 8657375..32999df 100755
--- a/scripts/02_configure_tarball.sh
+++ b/scripts/02_configure_tarball.sh
@@ -27,9 +27,16 @@ tar -xf $OUTPUT_TARBALL -C librewolf_unpacked
printf "\nCopying librewolf settings to extracted binary tarball\n"
cp -r $CI_PROJECT_DIR/src/settings $EXTRACTED_TARBALL_FOLDER/settings
+# no need to keep that in there
+rm -rf "${_EXTRACTED_TARBALL_FOLDER}/settings/.git";
cp $CI_PROJECT_DIR/content/toggle-settings.sh $EXTRACTED_TARBALL_FOLDER/settings
cp $CI_PROJECT_DIR/content/launch_librewolf.sh $EXTRACTED_TARBALL_FOLDER/launch_librewolf.sh
+# Somewhat crude workaround to use settings per default
+# until we've worked out how to use `--install-settings` with links
+# in all major packages instead
+cp $_EXTRACTED_TARBALL_FOLDER/settings/* $_EXTRACTED_TARBALL_FOLDER;
+
# Repacks the binary tarball
printf "\nRecompressing binary tarball\n"
tar -jvcf $OUTPUT_TARBALL -C $EXTRACTED_TARBALL_FOLDER .
bgstack15