diff options
-rw-r--r-- | .gitlab-ci.yml | 2 | ||||
-rwxr-xr-x | appimage/build_appimage.sh | 2 | ||||
-rwxr-xr-x | 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 |