add error handling in case this is the first run

This commit is contained in:
askiiart 2025-03-06 13:52:39 -06:00
parent 2303f9905b
commit b37191657c
Signed by untrusted user who does not match committer: askiiart
GPG key ID: 6A32977DAF31746A

2
run.sh
View file

@ -37,7 +37,7 @@ cd $repo_dir
# (which only happens on first run)
touch cavif-0.rpm
rm $(ls cavif-*.rpm | sort --version-sort | sed '$d')
rm cavif-0.rpm
rm cavif-0.rpm || true
# update repo
createrepo_c .