diff --git a/run.sh b/run.sh index 9b358fc..dcdcd00 100755 --- a/run.sh +++ b/run.sh @@ -35,9 +35,9 @@ mv ~/rpmbuild/RPMS/x86_64/cavif-$version-* $repo_dir/ cd $repo_dir # this is the easiest way to make sure it doesn't just fail because no cavif-* exists # (which only happens on first run) -touch cavif-aaaaaa.rpm +touch cavif-0.rpm rm $(ls cavif-*.rpm | sort --version-sort | sed '$d') -rm cavif-aaaaaa.rpm +rm cavif-0.rpm # update repo createrepo_c .