This commit is contained in:
parent
8c679f1b88
commit
08abad08da
2 changed files with 9 additions and 3 deletions
6
run.sh
6
run.sh
|
@ -31,11 +31,11 @@ mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $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-r0.rpm
|
||||
touch polycat-0.rpm
|
||||
rm $(ls polycat-*.rpm | sort --version-sort | sed '$d')
|
||||
rm polycat-r0.rpm || true
|
||||
rm polycat-0.rpm || true
|
||||
|
||||
# update repo
|
||||
createrepo_c .
|
||||
|
||||
echo "package is at $repo_dir/$(ls $repo_dir/polycat-*.rpm)"
|
||||
echo "package is at $(ls $repo_dir/polycat-*.rpm)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue