aboutsummaryrefslogtreecommitdiff
path: root/browser/linux/flatpak
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-07-23 12:38:46 -0500
committerBeatLink <beatlink@protonmail.com>2019-07-23 12:38:46 -0500
commit492249e80df68e79baf17319919ed865d222ac6d (patch)
tree152281e0b1d0a411274427a23a3416a1ff63b3b8 /browser/linux/flatpak
parentMerge branch 'fix_policies' into 'master' (diff)
downloadlibrewolf-linux-492249e80df68e79baf17319919ed865d222ac6d.tar.gz
librewolf-linux-492249e80df68e79baf17319919ed865d222ac6d.tar.bz2
librewolf-linux-492249e80df68e79baf17319919ed865d222ac6d.zip
Fix all builds
Diffstat (limited to 'browser/linux/flatpak')
-rwxr-xr-xbrowser/linux/flatpak/build_flatpak.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/browser/linux/flatpak/build_flatpak.sh b/browser/linux/flatpak/build_flatpak.sh
index db8168e..411b387 100755
--- a/browser/linux/flatpak/build_flatpak.sh
+++ b/browser/linux/flatpak/build_flatpak.sh
@@ -20,14 +20,14 @@ _FLATPAK_BUILD_FOLDER=build-dir;
# Install flatpak
printf "\nInstalling flatpak\n";
echo $_APT_REPO >> $_APT_SOURCE_LIST;
-apt update && apt install -y gnupg2 && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $_APT_REPO_KEY;
-apt update;
-apt install -y $_APT_PACKAGES_TO_INSTALL;
+apt-get -qq update && apt-get -qqy install gnupg2 && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $_APT_REPO_KEY;
+apt-get -qq update;
+apt-get -qqy install $_APT_PACKAGES_TO_INSTALL;
# Install build dependencies
printf "\nInstalling flatpak build dependencies\n";
flatpak remote-add --if-not-exists $_FLATHUB_REPO;
-flatpak install -y $_FLATHUB_PACKAGES_TO_INSTALL;
+flatpak install -y flathub $_FLATHUB_PACKAGES_TO_INSTALL;
# Extracts the binary tarball
printf "\nExtracting librewolf binary tarball\n";
@@ -35,7 +35,7 @@ tar -xvf $BINARY_TARBALL;
# Prepare for flatpak build
printf "\nPreparing files for flatpak build\n";
-mkdir $_FLATPAK_BUILD_SOURCE_FOLDER && mv -r $_EXTRACTED_BINARY_TARBALL_FOLDER $_FLATPAK_BUILD_SOURCE_FOLDER/librewolf;
+mkdir $_FLATPAK_BUILD_SOURCE_FOLDER && mv $_EXTRACTED_BINARY_TARBALL_FOLDER $_FLATPAK_BUILD_SOURCE_FOLDER/librewolf;
# Build Repo and standalone bundle
printf "\nBuilding flatpak repository and bundle\n";
bgstack15