fix wildcard failing
Some checks reported errors
continuous-integration/drone Build was killed

This commit is contained in:
askiiart 2025-02-26 00:49:04 -06:00
parent e2bdbd9158
commit 895e8345a8
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

4
run.sh
View file

@ -7,10 +7,14 @@ repo_dir=${REPO_DIR:-/repo}
# skip if already up-to-date # skip if already up-to-date
# TODO: use the repo instead and check the version with dnf # 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 if $(ls polycat-* | grep -q "$version"); then
rm polycat-tmp
echo "package is already up to date, exiting" echo "package is already up to date, exiting"
exit exit
fi fi
rm polycat-tmp
# prep # prep
dnf install fedora-packager rpmdevtools createrepo_c -y dnf install fedora-packager rpmdevtools createrepo_c -y