diff options
author | googol42 | 2022-07-06 14:11:05 +0200 |
---|---|---|
committer | googol42 | 2022-07-06 14:11:05 +0200 |
commit | 625e027d927e528e9ac02d4e65495ef535a1c186 (patch) | |
tree | a4f269e2d3821c0b95e1f3072365e0aed22076c6 | |
parent | 16e0e9c888cc6354b133efb1225c4a6b2fcf441c (diff) | |
download | aur-625e027d927e528e9ac02d4e65495ef535a1c186.tar.gz |
packaging script: use -1 as return code when package could not be updated
-rwxr-xr-x | check-and-update-new-version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check-and-update-new-version.sh b/check-and-update-new-version.sh index 1c5cfb1251f2..4731535f3fba 100755 --- a/check-and-update-new-version.sh +++ b/check-and-update-new-version.sh @@ -6,7 +6,7 @@ currentVersion=`curl https://www.mkgmap.org.uk/download/mkgmap.html --silent | g if [ -z "${currentVersion}" ]; then echo "mkgmap.org.uk is down or the version number could not be parsed" - exit 0 + exit -1 fi if [ "${lastVersion}" = "${currentVersion}" ]; then |