aboutsummaryrefslogtreecommitdiff
path: root/binary_tarball/scripts/5_Configure_Binary_Tarball.sh
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-29 00:18:58 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-29 00:18:58 +0100
commitf25780603396b1adc27524b9c165106d48c9631d (patch)
tree581346d95ab05b6aa40e39a1d00009899fafae66 /binary_tarball/scripts/5_Configure_Binary_Tarball.sh
parentoh ubuntu..: xz is in xz-utils (diff)
downloadlibrewolf-linux-f25780603396b1adc27524b9c165106d48c9631d.tar.gz
librewolf-linux-f25780603396b1adc27524b9c165106d48c9631d.tar.bz2
librewolf-linux-f25780603396b1adc27524b9c165106d48c9631d.zip
several small script fixes
Diffstat (limited to 'binary_tarball/scripts/5_Configure_Binary_Tarball.sh')
-rwxr-xr-xbinary_tarball/scripts/5_Configure_Binary_Tarball.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh
index 582e7de..0693e67 100755
--- a/binary_tarball/scripts/5_Configure_Binary_Tarball.sh
+++ b/binary_tarball/scripts/5_Configure_Binary_Tarball.sh
@@ -1,6 +1,9 @@
#!/bin/bash
printf "\n\n--------------------------------- SETTINGS INTEGRATION --------------------------------------\n";
+# Aborts the script upon any faliure
+set -e;
+
# Setup Script Variables
BINARY_TARBALL=$1;
TOGGLE_SETTINGS_SCRIPT=$2;
@@ -32,7 +35,7 @@ cp $LAUNCHER_SCRIPT $_EXTRACTED_TARBALL_FOLDER/launch_librewolf.sh;
# until we've worked out how to use `--install-settings` with links
# in all major packages instead
printf "\nWorkaround: auto-enable Settings\n"
-cp $_EXTRACTED_TARBALL_FOLDER/settings/* $_EXTRACTED_TARBALL_FOLDER;
+cp -r $_EXTRACTED_TARBALL_FOLDER/settings/* $_EXTRACTED_TARBALL_FOLDER;
# Add distribution.ini
distini="$_EXTRACTED_TARBALL_FOLDER/distribution/distribution.ini"
bgstack15