diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b8f04623c4..fa6dc8dacf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,7 +60,7 @@ checkupdates: only: - schedules before_script: - if [ -z "${CHECKUPDATES}" ]; then exit 0 + - if [ -z "${CHECKUPDATES}" ]; then exit 0; fi - printf "Package\x3a androguard fdroidserver python3-asn1crypto python3-ruamel.yaml\nPin\x3a release a=stretch-backports\nPin-Priority\x3a 500\n" > /etc/apt/preferences.d/debian-stretch-backports.pref - echo "deb http://deb.debian.org/debian/ stretch-backports main" > /etc/apt/sources.list.d/backports.list - apt-get update @@ -195,7 +195,7 @@ check_git_repos: paths: - public script: - if [ -z "${CHECK_GIT_REPOS}" ]; then exit 0 + - if [ -z "${CHECK_GIT_REPOS}" ]; then exit 0; fi - apt-get update - apt-get -qy install --no-install-recommends ca-certificates git python3-colorama python3-yaml - tools/check-git-repo-availability.py || export EXITVALUE=1