From 72ad18e6be2319bed6926fa9d7a9442c1da447a9 Mon Sep 17 00:00:00 2001 From: askiiart Date: Thu, 6 Mar 2025 19:40:04 -0600 Subject: [PATCH] fix logic for first run --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index b554c4b..3081899 100755 --- a/run.sh +++ b/run.sh @@ -35,9 +35,9 @@ mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/ cd $repo_dir # this is the easiest way to make sure it doesn't just fail because no polycat-* exists # (which only happens on first run) -touch polycat-aaaaaa.rpm +touch polycat-r0.rpm rm $(ls polycat-*.rpm | sort --version-sort | sed '$d') -rm polycat-aaaaaa.rpm +rm polycat-r0.rpm || true # update repo createrepo_c .