diff options
author | BeatLink <beatlink@protonmail.com> | 2019-07-20 23:14:52 -0500 |
---|---|---|
committer | BeatLink <beatlink@protonmail.com> | 2019-07-20 23:14:52 -0500 |
commit | aca223e26c6154a91edce405589ce2e5110dac0a (patch) | |
tree | dc6bdef7b21e4199b2726f0c5f738ca80cc8e8b1 /browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh | |
parent | Update CI/CD Artifacts Path (diff) | |
download | librewolf-linux-aca223e26c6154a91edce405589ce2e5110dac0a.tar.gz librewolf-linux-aca223e26c6154a91edce405589ce2e5110dac0a.tar.bz2 librewolf-linux-aca223e26c6154a91edce405589ce2e5110dac0a.zip |
Add tarball configuration and appimage build
Diffstat (limited to 'browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh')
-rwxr-xr-x | browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh b/browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh index 346f702..f859f11 100755 --- a/browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh +++ b/browser/linux/binary_tarball/scripts/5_Configure_Binary_Tarball.sh @@ -1,24 +1,24 @@ #!/bin/sh -PACKAGE_FILE=$1 -SETTINGS_FOLDER_TO_ADD=$2 #$REPOSITORY_FOLDER/settings -LAUNCHER_SCRIPT=$3 #$SCRIPT_FOLDER/resources/launch_librewolf.sh +BINARY_TARBALL=$1 +SETTINGS_FOLDER_TO_ADD=$2 +LAUNCHER_SCRIPT=$3 printf "\n\n--------------------------------- SETTINGS INTEGRATION --------------------------------------\n"; # Extracts the binary tarball printf "\nExtracting librewolf binary tarball\n"; -tar -xvf ./$PACKAGE_FILE; +tar -xvf ./$BINARY_TARBALL; # Adds the librefox config files to the packaged tarball printf "\nCopying librewolf settings to extracted binary tarball\n"; cp -r $SETTINGS_FOLDER_TO_ADD ./librewolf/settings; -cp $LAUNCHER_SCRIPT ./librewolf/launch_librewolf.sh +cp $LAUNCHER_SCRIPT ./librewolf/launch_librewolf.sh; mkdir -p ./librewolf/defaults/pref/; mkdir -p ./librewolf/distribution/; # Repacks the binary tarball printf "\nRecompressing binary tarball\n"; -tar -jcvf ./$PACKAGE_FILE librewolf; +tar -jcvf ./$BINARY_TARBALL librewolf; |