summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-07 18:24:20 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-08-08 09:06:53 +0200
commitbf5ee5502304ae4e7fb4d25dc4f146e9c2b0dcb7 (patch)
treea2ff1c1fe334c918a78431705b720dcbc9764e7f
parent9613c0bcdcf7e7055afe02a4753892453cb357f6 (diff)
downloadarchlinuxewe-bf5ee5502304ae4e7fb4d25dc4f146e9c2b0dcb7.tar.xz
liste-verfuegbare-Versionen: do nothing on non-arch
-rwxr-xr-xliste-verfuegbare-Versionen2
1 files changed, 2 insertions, 0 deletions
diff --git a/liste-verfuegbare-Versionen b/liste-verfuegbare-Versionen
index e70b76a72..ee1dfa4e0 100755
--- a/liste-verfuegbare-Versionen
+++ b/liste-verfuegbare-Versionen
@@ -10,6 +10,8 @@ if grep -qxF 'ID=arch' /etc/os-release; then
)
sudo pacman -Sy >/dev/null || exit $?
else
+ >&2 echo 'currently does not reliably work on non-arch systems'
+ exit 1
sources=(
http://pkgcache.eckner.net/arch/x86_64/core/core.db.tar.gz
http://pkgcache.eckner.net/arch/x86_64/extra/extra.db.tar.gz