diff options
author | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-28 23:15:41 +0100 |
---|---|---|
committer | ohfp <1813007-ohfp@users.noreply.gitlab.com> | 2020-03-28 23:15:41 +0100 |
commit | b409944faddbfa5dc4e318ef14942f7d9847397a (patch) | |
tree | 619c0d52a6f50680554686a5ffec62fdd4c462fb /flatpak/build_flatpak.sh | |
parent | update eol gnome dependencies for flatpak (diff) | |
download | librewolf-linux-b409944faddbfa5dc4e318ef14942f7d9847397a.tar.gz librewolf-linux-b409944faddbfa5dc4e318ef14942f7d9847397a.tar.bz2 librewolf-linux-b409944faddbfa5dc4e318ef14942f7d9847397a.zip |
de-Archify some aspects of builds and -scripts; allow to initiate separate steps manually; first attempt to build tarball on ubuntu 16.04
Diffstat (limited to 'flatpak/build_flatpak.sh')
-rwxr-xr-x | flatpak/build_flatpak.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/flatpak/build_flatpak.sh b/flatpak/build_flatpak.sh index 4d74dd3..6317b1c 100755 --- a/flatpak/build_flatpak.sh +++ b/flatpak/build_flatpak.sh @@ -16,6 +16,17 @@ _FLATPAK_JSON_FILE=$_SCRIPT_FOLDER/content/io.gitlab.LibreWolf.json; _FLATPAK_BUILD_SOURCE_FOLDER=$_SCRIPT_FOLDER/source; _FLATPAK_BUILD_FOLDER=build-dir; + +if [[ -z "${TARBALL_URL}" ]];then + apt update && apt-install -y wget + wget "${TARBALL_URL}" +fi + +if [[ ! -f "${BINARY_TARBALL}" ]];then + echo "Tarball not provided via pipeline or download." + exit 1 +fi + # Install build dependencies printf "\nInstalling flatpak build dependencies\n"; |