yum/update_repo.sh: reduce verbosity
This commit is contained in:
parent
46b793dcba
commit
8ded5f9a31
@ -17,13 +17,13 @@ check_repo()
|
||||
|
||||
update_repo()
|
||||
{
|
||||
createrepo -g ../../conf/comps-qubes.xml --update $1
|
||||
createrepo -q -g ../../conf/comps-qubes.xml --update $1
|
||||
}
|
||||
|
||||
|
||||
for repo in dom0-updates installer qubes-dom0 ; do
|
||||
echo "--> Processing repo: $repo..."
|
||||
ls $repo/rpm/*.rpm 2>/dev/null
|
||||
echo "---> Processing repo: $repo..."
|
||||
ls $repo/rpm/*.rpm 2>/dev/null 1>&2
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Empty repo, skipping..."
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user