From 8d0f2ecdd25996eb49a02976aa30ac37bf86b98d Mon Sep 17 00:00:00 2001 From: askiiart Date: Thu, 6 Mar 2025 19:34:19 +0000 Subject: [PATCH] fix not prefixing with the dir or whatever --- run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run.sh b/run.sh index c88d294..b554c4b 100755 --- a/run.sh +++ b/run.sh @@ -8,13 +8,13 @@ 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 +touch $repo_dir/polycat-tmp if $(ls $repo_dir/polycat-* | grep -q "$version"); then - rm polycat-tmp + rm $repo_dir/polycat-tmp echo "package is already up to date, exiting" exit fi -rm polycat-tmp +rm polycat_tmp # prep dnf install fedora-packager rpmdevtools createrepo_c -y