summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-05-13 11:31:06 +0200
committerRemi Collet <remi@remirepo.net>2019-05-13 11:31:06 +0200
commit45df775bd430a3856f821ced9d6b61604a292497 (patch)
treec2bf295b36352138ec4783f7ba7f36d8acd054e6
parent79dd89b5d9974e2ebe15a74dd8d4e050baecf91e (diff)
tweak for F30
-rwxr-xr-xgetmock6
-rwxr-xr-xmkrepo14
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//\// - }" .