Skip to content

Commit

Permalink
src/scripts/rpmrepo-snapshot: fix enumerate cache building
Browse files Browse the repository at this point in the history
The command is called `enumerate-cache`.
  • Loading branch information
croissanne committed Jul 18, 2024
1 parent dc6970e commit e267156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/rpmrepo-snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit e267156

Please sign in to comment.