aboutsummaryrefslogtreecommitdiff
path: root/scripts/02_configure_tarball.sh
diff options
context:
space:
mode:
authorohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-24 10:22:01 +0100
committerohfp <1813007-ohfp@users.noreply.gitlab.com>2020-03-24 10:22:01 +0100
commit4d2d452fd14978449a98ecc9713f18e33b774376 (patch)
treec17fbb64cf61fe60f593bea8277df917b7c4becf /scripts/02_configure_tarball.sh
parentsometimes, it's the little things.. (diff)
downloadlibrewolf-linux-4d2d452fd14978449a98ecc9713f18e33b774376.tar.gz
librewolf-linux-4d2d452fd14978449a98ecc9713f18e33b774376.tar.bz2
librewolf-linux-4d2d452fd14978449a98ecc9713f18e33b774376.zip
enable SearchEngine policy for non-ESR Firefox; remove direct non-policy installation of ublock again
Diffstat (limited to 'scripts/02_configure_tarball.sh')
-rwxr-xr-xscripts/02_configure_tarball.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/02_configure_tarball.sh b/scripts/02_configure_tarball.sh
index 3bdbcaf..2b4d959 100755
--- a/scripts/02_configure_tarball.sh
+++ b/scripts/02_configure_tarball.sh
@@ -11,8 +11,6 @@ OUTPUT_TARBALL=$CI_PROJECT_DIR/LibreWolf.${CARCH}.tar.bz2
SOURCE_CODE_BINARY_TARBALL_LOCATION="$CI_PROJECT_DIR/src/firefox-*/obj*/dist/librewolf*.tar.bz2"
EXTRACTED_TARBALL_FOLDER=$CI_PROJECT_DIR/librewolf_unpacked/librewolf
-_ublockver=1.25.2
-
# Prevents build from breaking in CI/CD environments
export SHELL=/bin/bash
@@ -29,7 +27,7 @@ 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";
+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
@@ -37,10 +35,7 @@ cp $CI_PROJECT_DIR/content/launch_librewolf.sh $EXTRACTED_TARBALL_FOLDER/launch_
# until we've worked out how to use `--install-settings` with links
# in all major packages instead
printf "\nWorkaround: auto-enable Settings\n"
-cp -r $_EXTRACTED_TARBALL_FOLDER/settings/* $_EXTRACTED_TARBALL_FOLDER;
-
-printf "\nAdd uBlock origin\n"
-install -Dm644 "$CI_PROJECT_DIR/ublock_origin-$_ublockver-an+fx.xpi" "$EXTRACTED_TARBALL_FOLDER"/browser/extensions/uBlock0@raymondhill.net.xpi
+cp -r $EXTRACTED_TARBALL_FOLDER/settings/* $EXTRACTED_TARBALL_FOLDER;
# Repacks the binary tarball
printf "\nRecompressing binary tarball\n"
bgstack15