summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-10-12 15:24:40 +0200
committerErich Eckner <git@eckner.net>2024-10-12 15:24:40 +0200
commit22b2b16a3c9c265bf0aa2fd6bec251d2fb0f4574 (patch)
tree9420b5cee54c02f1f4b0fdb7b237727c3027fe7f
parentfa1585139b2de07629ebc0752ae92198d2598842 (diff)
downloadarchlinuxewe-22b2b16a3c9c265bf0aa2fd6bec251d2fb0f4574.tar.xz
make liste-verfuegbare-Versionen forcible on artix via setting of LVV_FORCE
* this is meant for manual operation * one should check the retrieved versions before pushing
-rwxr-xr-xliste-verfuegbare-Versionen4
1 files changed, 3 insertions, 1 deletions
diff --git a/liste-verfuegbare-Versionen b/liste-verfuegbare-Versionen
index 3ec025787..d61d53a07 100755
--- a/liste-verfuegbare-Versionen
+++ b/liste-verfuegbare-Versionen
@@ -11,7 +11,9 @@ if grep -qxF 'ID=arch' /etc/os-release; then
sudo pacman -Sy >/dev/null || exit $?
else
>&2 echo 'skipping liste-verfuegbare-Versionen, because it currently does not reliably work on non-arch systems'
- exit 1
+ tty -s || exit 1
+ >&2 echo 'checkout $LVV_FORCE'
+ [ -n "$LVV_FORCE" ] || 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