Prefer createrepo_c over createrepo
This commit is contained in:
parent
87116a2094
commit
967c9caa7c
@ -1,8 +1,9 @@
|
||||
createrepo="$(which createrepo_c createrepo | head -n 1)"
|
||||
for repo in dom0-updates installer qubes-dom0 ; do
|
||||
echo "---> Cleaning up repo: $repo..."
|
||||
rm -f $repo/rpm/*.rpm
|
||||
rm -f $repo/repodata/*
|
||||
createrepo -q $repo
|
||||
$createrepo -q $repo
|
||||
done
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user