From 45df775bd430a3856f821ced9d6b61604a292497 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 13 May 2019 11:31:06 +0200 Subject: tweak for F30 --- mkrepo | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mkrepo') diff --git a/mkrepo b/mkrepo index ce182cc..3ff1263 100755 --- a/mkrepo +++ b/mkrepo @@ -51,9 +51,8 @@ if [ ${2:-clean} != noclean ]; then repomanage --old --keep=$old . 2>/dev/null | tee $TMP LST=$(cat $TMP) - if [ -z "$LST" ] - then echo OK. - else mv $LST /data/rpms/old/ + if [ -n "$LST" ] + then mv $LST /data/rpms/old/ fi fi @@ -70,6 +69,7 @@ if true; then --retain-old-md 8 \ --changelog-limit 3 \ --compress-type=bz2 \ + --quiet \ --database $(pwd) else cleanoldmeta repodata @@ -86,10 +86,10 @@ fi echo "+ Génération repoview" nom=${PWD#/home/rpmbuild/site/rpms/} -echo repoview --url http://rpms.remirepo.net/$nom \ - --template-dir /home/rpmbuild/site/rpms/repotmpl \ - --title "Remi's RPM repository - ${nom//\// - }" . -LANG=C repoview --url http://rpms.remirepo.net/$nom \ +#echo repoview --quiet --url http://rpms.remirepo.net/$nom \ +# --template-dir /home/rpmbuild/site/rpms/repotmpl \ +# --title "Remi's RPM repository - ${nom//\// - }" . +LANG=C repoview --quiet --url http://rpms.remirepo.net/$nom \ --template-dir /home/rpmbuild/site/rpms/repotmpl \ --title "Remi's RPM repository - ${nom//\// - }" . -- cgit