summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2023-04-03 00:59:43 +0200
committerjak1 <jak1@themanaworld.org>2023-04-03 00:59:43 +0200
commit386a47710b235051eedf254f56b01972096aac7e (patch)
treee50382c53b560820908d7d6ede9298aaa9b2f686 /tools
parentba86f9667c61670cb0fa90c10dd079ceddd24306 (diff)
downloadplus-386a47710b235051eedf254f56b01972096aac7e.tar.gz
plus-386a47710b235051eedf254f56b01972096aac7e.tar.bz2
plus-386a47710b235051eedf254f56b01972096aac7e.tar.xz
plus-386a47710b235051eedf254f56b01972096aac7e.zip
CI: fixed some apt issues (some vars are usable, some are not TF dont deprecate working stuff <_<)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/ci/scripts/dockerretry.sh2
-rwxr-xr-xtools/ci/scripts/updaterepos.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci/scripts/dockerretry.sh b/tools/ci/scripts/dockerretry.sh
index 121878cbb..ed8dbdc80 100755
--- a/tools/ci/scripts/dockerretry.sh
+++ b/tools/ci/scripts/dockerretry.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# skip if we not in docker
-if [[ ${CI_RUNNER_TAGS} != *"docker"* ]]; then
+if [[ "$RUNFROMSHELL" != "" ]]; then
echo "Running from shell. Skipping $*"
exit 0
fi
diff --git a/tools/ci/scripts/updaterepos.sh b/tools/ci/scripts/updaterepos.sh
index f0698fc19..167898a83 100755
--- a/tools/ci/scripts/updaterepos.sh
+++ b/tools/ci/scripts/updaterepos.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-if [[ ${CI_RUNNER_TAGS} != *"docker"* ]]; then
+if [[ "$RUNFROMSHELL" != "" ]]; then
echo "Running from shell. Skipping update repos"
exit 0
fi