add tmp file to make it not fail
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
this is bad lol
This commit is contained in:
parent
02bd17a94a
commit
d657ed2f42
1 changed files with 4 additions and 0 deletions
4
run.sh
4
run.sh
|
@ -28,7 +28,11 @@ mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/
|
||||||
|
|
||||||
# remove old versions
|
# remove old versions
|
||||||
cd $repo_dir
|
cd $repo_dir
|
||||||
|
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists
|
||||||
|
# (which only happens on first run)
|
||||||
|
touch polycat-tmp.rpm
|
||||||
rm $(ls polycat-*.rpm | sort --version-sort | sed '$d')
|
rm $(ls polycat-*.rpm | sort --version-sort | sed '$d')
|
||||||
|
rm polycat-tmp.rpm
|
||||||
|
|
||||||
# update repo
|
# update repo
|
||||||
createrepo_c .
|
createrepo_c .
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue