From 97f87958662369a243c55d1a65ae631b58a545aa Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Wed, 7 Aug 2024 22:11:23 +0200 Subject: [PATCH] Update fetch.sh --- fetch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch.sh b/fetch.sh index f9a5db613..fa0b6b60e 100755 --- a/fetch.sh +++ b/fetch.sh @@ -26,10 +26,10 @@ for bin_pkg in $BIN_PACKAGE_NAME_LIST do BIN_VERSION=$(apt show $bin_pkg:$PIKA_BIN_ARCH 2>&1 | grep Version: | head -n1 | cut -f2- -d":" | cut -f2- -d":" | tr -d ' ') TARGET_VERSION=$(echo $BIN_VERSION | sed 's/\+b.*//') - apt download -y $bin_pkg:$PIKA_BIN_ARCH || echo "$bin_pkg doesn't exist in $PIKA_BIN_ARCH" + apt download -y $bin_pkg:$PIKA_BIN_ARCH || echo "Maybe Error: $bin_pkg doesn't exist in $PIKA_BIN_ARCH" && continue if [[ $BIN_VERSION == $TARGET_VERSION ]] then - mv ./*.deb ./output/ + mv ./*.deb ./output/ else for i in ./*.deb do