From 49bb75906ea2cda0acf47357f9267a6183bedc05 Mon Sep 17 00:00:00 2001 From: ohfp <1813007-ohfp@users.noreply.gitlab.com> Date: Sat, 28 Mar 2020 23:56:49 +0100 Subject: typos and fix pipeline variable name --- .gitlab-ci.yml | 2 +- appimage/build_appimage.sh | 2 +- flatpak/build_flatpak.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b580da3..ab48dba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,7 @@ stages: - paks # variables: - # GENERIC: $GENERIC +# TARBALL: $TARBALL # ARCH: $ARCH # FLATPAK: $FLATPAK # APPIMAGE: $FLATPAK diff --git a/appimage/build_appimage.sh b/appimage/build_appimage.sh index 939a948..11ed6c5 100755 --- a/appimage/build_appimage.sh +++ b/appimage/build_appimage.sh @@ -18,7 +18,7 @@ _APPIMAGE_CONTENT_FOLDER=$_SCRIPT_FOLDER/content # Installs needed dependencies apt-get update && apt-get -y install file wget; -if [[ -z "${TARBALL_URL}" ]];then +if [[ ! -z "${TARBALL_URL}" ]];then wget "${TARBALL_URL}" fi diff --git a/flatpak/build_flatpak.sh b/flatpak/build_flatpak.sh index 6317b1c..72691b0 100755 --- a/flatpak/build_flatpak.sh +++ b/flatpak/build_flatpak.sh @@ -17,8 +17,8 @@ _FLATPAK_BUILD_SOURCE_FOLDER=$_SCRIPT_FOLDER/source; _FLATPAK_BUILD_FOLDER=build-dir; -if [[ -z "${TARBALL_URL}" ]];then - apt update && apt-install -y wget +if [[ ! -z "${TARBALL_URL}" ]];then + apt update && apt install -y wget wget "${TARBALL_URL}" fi -- cgit