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 --- getmock | 6 +++--- mkrepo | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/getmock b/getmock index 2c87c8a..572ad6b 100755 --- a/getmock +++ b/getmock @@ -390,7 +390,7 @@ elif [ $1 = scl70 ]; then done elif [ $1 = scl71 ]; then - for i in 27 28 29 + for i in 27 28 29 30 do getOneMock scl71fc${i}x $opt done @@ -400,7 +400,7 @@ elif [ $1 = scl71 ]; then done elif [ $1 = scl73 ]; then - for i in 27 28 29 + for i in 27 28 29 30 do getOneMock scl73fc${i}x $opt done @@ -410,7 +410,7 @@ elif [ $1 = scl73 ]; then done elif [ $1 = scl72 ]; then - for i in 27 28 29 + for i in 27 28 29 30 do getOneMock scl72fc${i}x $opt done 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