diff options
Diffstat (limited to 'browser/linux/binary_tarball')
-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; |