diff options
author | BeatLink <beatlink@protonmail.com> | 2019-08-16 22:00:32 -0500 |
---|---|---|
committer | BeatLink <beatlink@protonmail.com> | 2019-08-16 22:00:32 -0500 |
commit | 088d2f7727fd1c88b75bec370d9131e0bbd1e432 (patch) | |
tree | 32bf0a9bcccfd7b47478fdd3b48e235021f83700 /binary_tarball/scripts/3_Configure_Source_Code.sh | |
parent | Move other platforms to own repo (diff) | |
download | librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.tar.gz librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.tar.bz2 librewolf-linux-088d2f7727fd1c88b75bec370d9131e0bbd1e432.zip |
move linux files to top level
Diffstat (limited to 'binary_tarball/scripts/3_Configure_Source_Code.sh')
-rwxr-xr-x | binary_tarball/scripts/3_Configure_Source_Code.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/binary_tarball/scripts/3_Configure_Source_Code.sh b/binary_tarball/scripts/3_Configure_Source_Code.sh new file mode 100755 index 0000000..9adc430 --- /dev/null +++ b/binary_tarball/scripts/3_Configure_Source_Code.sh @@ -0,0 +1,17 @@ +#!/bin/sh +printf "\n\n------------------------------ FINAL PREBUILD CONFIGURATION ---------------------------------\n"; + +# Setup Script Variables +SOURCE_CODE_FOLDER=$1; +SOURCE_CODE_CUSTOMIZATION_FOLDER=$2; +_POCKET_SED_STRING="s/'pocket'/#'pocket'/g"; +_POCKET_FILE=$SOURCE_CODE_FOLDER/browser/components/moz.build; + +# Copy Source Code Changes to Source Code +printf "\nCopying branding and source code changes to firefox source code\n"; +cp -r $SOURCE_CODE_CUSTOMIZATION_FOLDER/* $SOURCE_CODE_FOLDER/; + +# Disables Pocket +printf "\nDisabling Pocket\n"; +sed -i $_POCKET_SED_STRING $_POCKET_FILE; + |