From 895e8345a84ac2c9a57757c4eb11b2d78425990e Mon Sep 17 00:00:00 2001 From: askiiart Date: Wed, 26 Feb 2025 00:49:04 -0600 Subject: [PATCH] fix wildcard failing --- run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.sh b/run.sh index df42ff7..d50b070 100755 --- a/run.sh +++ b/run.sh @@ -7,10 +7,14 @@ repo_dir=${REPO_DIR:-/repo} # skip if already up-to-date # TODO: use the repo instead and check the version with dnf +# yeah this is bad; see also the polycat-aaaaaa thing below +touch polycat-tmp if $(ls polycat-* | grep -q "$version"); then + rm polycat-tmp echo "package is already up to date, exiting" exit fi +rm polycat-tmp # prep dnf install fedora-packager rpmdevtools createrepo_c -y