typos and fix pipeline variable name

This commit is contained in:
ohfp 2020-03-28 23:56:49 +01:00
parent f9f76a24c8
commit 49bb75906e
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ stages:
- paks
# variables:
# GENERIC: $GENERIC
# TARBALL: $TARBALL
# ARCH: $ARCH
# FLATPAK: $FLATPAK
# APPIMAGE: $FLATPAK

View file

@ -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

View file

@ -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