typos and fix pipeline variable name
This commit is contained in:
parent
f9f76a24c8
commit
49bb75906e
3 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@ stages:
|
||||||
- paks
|
- paks
|
||||||
|
|
||||||
# variables:
|
# variables:
|
||||||
# GENERIC: $GENERIC
|
# TARBALL: $TARBALL
|
||||||
# ARCH: $ARCH
|
# ARCH: $ARCH
|
||||||
# FLATPAK: $FLATPAK
|
# FLATPAK: $FLATPAK
|
||||||
# APPIMAGE: $FLATPAK
|
# APPIMAGE: $FLATPAK
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ _APPIMAGE_CONTENT_FOLDER=$_SCRIPT_FOLDER/content
|
||||||
# Installs needed dependencies
|
# Installs needed dependencies
|
||||||
apt-get update && apt-get -y install file wget;
|
apt-get update && apt-get -y install file wget;
|
||||||
|
|
||||||
if [[ -z "${TARBALL_URL}" ]];then
|
if [[ ! -z "${TARBALL_URL}" ]];then
|
||||||
wget "${TARBALL_URL}"
|
wget "${TARBALL_URL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ _FLATPAK_BUILD_SOURCE_FOLDER=$_SCRIPT_FOLDER/source;
|
||||||
_FLATPAK_BUILD_FOLDER=build-dir;
|
_FLATPAK_BUILD_FOLDER=build-dir;
|
||||||
|
|
||||||
|
|
||||||
if [[ -z "${TARBALL_URL}" ]];then
|
if [[ ! -z "${TARBALL_URL}" ]];then
|
||||||
apt update && apt-install -y wget
|
apt update && apt install -y wget
|
||||||
wget "${TARBALL_URL}"
|
wget "${TARBALL_URL}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue