From e267156e2173e9792f7f732006355d07a5704198 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Thu, 18 Jul 2024 12:21:12 +0200 Subject: [PATCH] src/scripts/rpmrepo-snapshot: fix enumerate cache building The command is called `enumerate-cache`. --- src/scripts/rpmrepo-snapshot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/rpmrepo-snapshot.sh b/src/scripts/rpmrepo-snapshot.sh index ef99301..9d30225 100755 --- a/src/scripts/rpmrepo-snapshot.sh +++ b/src/scripts/rpmrepo-snapshot.sh @@ -71,11 +71,11 @@ git reset --hard "${RPMREPO_COMMIT}" echo "Selecting target: ${RPMREPO_TARGET}" TARGET_PATH="" -if [[ $RPMREPO_TARGET = "snapshots-cache" ]]; then +if [[ $RPMREPO_TARGET = "enumerate-cache" ]]; then python3 -m "src.ctl" \ --cache "/var/lib/rpmrepo/cache" \ --local "batch" \ - snapshots-cache + enumerate-cache exit 0 elif [[ $RPMREPO_TARGET = "auto" ]] ; then TARGET_LIST=($(ls ./repo | sort))