From 2d1d79c1e87d44d88872d371553fd2e3df45ea6d Mon Sep 17 00:00:00 2001 From: Josef Sejrek Date: Sun, 2 Aug 2026 18:49:21 +0200 Subject: [PATCH] worker.sh: don't abort when the AppImage is self-hosted --- code/worker.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index cb8ed09dc3..d4f7b99599 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -507,8 +507,8 @@ sudo chmod a+x appstreamcli-x86_64.AppImage # BB_USER=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 4 ) # BB_REPO=$(grep "^https://bitbucket.org.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) if [ x"$GH_USER" == x"" ] ; then - GH_USER=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) - GH_REPO=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 6 ) + GH_USER=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 5 ) || true + GH_REPO=$(grep "^https://api.github.com.*" data/$INPUTBASENAME | cut -d '/' -f 6 ) || true fi if [ x"$GH_USER" != x"" ] ; then echo " - name: $GH_USER" >> apps/$INPUTBASENAME.md