This commit is contained in:
askiiart 2025-03-06 13:34:32 -06:00
parent bdca60f939
commit eb8a8cf166
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

6
run.sh
View file

@ -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 cavif-aaaaaa thing below
touch cavif-tmp
touch $repo_dir/cavif-tmp
if $(ls $repo_dir/cavif-* | grep -q "$version"); then
rm cavif-tmp
rm $repo_dir/cavif-tmp
echo "package is already up to date, exiting"
exit
fi
rm cavif-tmp
rm $repo_dir/cavif-tmp
# prep
dnf install fedora-packager rpmdevtools createrepo_c -y