diff options
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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//\// - }" . |