From 6d2e15f0fe95ddb87b343b4c862d525591bcdbbc Mon Sep 17 00:00:00 2001 From: jak1 Date: Tue, 21 Jun 2022 22:28:37 +0000 Subject: negation... (i should try that stuff before pushing) *hides* --- tools/ci/scripts/init.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index 58d072dfe..cff5a62e1 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -13,7 +13,7 @@ function do_init { } function update_repos { - if [ "$CI_RUNNER_ID" == "" ]; + if [ "$CI_RUNNER_ID" != "" ]; then echo "Running from shell. Skipping update repos" return @@ -29,7 +29,7 @@ function update_repos { } function aptget_update { - if [ "$CI_RUNNER_ID" == "" ]; + if [ "$CI_RUNNER_ID" != "" ]; then echo "Running from shell. Skipping apt-get update" return @@ -59,7 +59,7 @@ function aptget_update { } function aptget_install { - if [ "$CI_RUNNER_ID" == "" ]; + if [ "$CI_RUNNER_ID" != "" ]; then echo "Running from shell. Skipping apt-get" return -- cgit v1.2.3-70-g09d2