typos and fix pipeline variable name
This commit is contained in:
parent
f9f76a24c8
commit
49bb75906e
|
@ -3,7 +3,7 @@ stages:
|
|||
- paks
|
||||
|
||||
# variables:
|
||||
# GENERIC: $GENERIC
|
||||
# TARBALL: $TARBALL
|
||||
# ARCH: $ARCH
|
||||
# FLATPAK: $FLATPAK
|
||||
# APPIMAGE: $FLATPAK
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue