summaryrefslogtreecommitdiffstats
path: root/mkrepo
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 /mkrepo
parent79dd89b5d9974e2ebe15a74dd8d4e050baecf91e (diff)
tweak for F30
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo14
1 files changed, 7 insertions, 7 deletions
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//\// - }" .