From 137eac6c0eb846dbe87393c345b25201e0def974 Mon Sep 17 00:00:00 2001 From: Marcus Hoffmann Date: Thu, 4 Jun 2020 19:57:24 +0200 Subject: [PATCH] CI: fix schedules abort line --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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