Revert "this might work"
Some checks failed
continuous-integration/drone Build is failing

This reverts commit 08ab65f488.
This commit is contained in:
askiiart 2025-02-26 00:22:02 -06:00
parent 08ab65f488
commit 02bd17a94a
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

6
run.sh
View file

@ -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