diff --git a/run.sh b/run.sh index bd4296f..4ce1f8a 100755 --- a/run.sh +++ b/run.sh @@ -6,14 +6,10 @@ version=$(cat $built_dir/version) repo_dir=${REPO_DIR:-/repo} # skip if already up-to-date -# this is the easiest way to make sure it doesn't just fail because no polycat-* exists -touch polycat-tmp -if $(ls $repo_dir/polycat-* | grep -q "$version"); then - rm polycat-tmp +if $(ls polycat-* | grep -q "$version"); then echo "package is already up to date, exiting" exit fi -rm polycat-tmp # prep dnf install fedora-packager rpmdevtools createrepo_c -y