You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-installer-qubes-os/yum/clean_repos.sh

10 lines
237 B

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
done