diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-07 18:24:20 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-08-08 09:06:53 +0200 |
commit | bf5ee5502304ae4e7fb4d25dc4f146e9c2b0dcb7 (patch) | |
tree | a2ff1c1fe334c918a78431705b720dcbc9764e7f | |
parent | 9613c0bcdcf7e7055afe02a4753892453cb357f6 (diff) | |
download | archlinuxewe-bf5ee5502304ae4e7fb4d25dc4f146e9c2b0dcb7.tar.xz |
liste-verfuegbare-Versionen: do nothing on non-arch
-rwxr-xr-x | liste-verfuegbare-Versionen | 2 |
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 |