summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-11-13 10:21:23 +0100
committerRemi Collet <remi@remirepo.net>2018-11-13 10:21:23 +0100
commit5d8da9e8dfaa4d88f128934461d639687da26d57 (patch)
treea50c6e842c01638d4de607b8fbb45273cdf68879 /mkrepo
parent76ba248da60a2c4857952d92a5d97cebbefde16a (diff)
add helper to clean old metadata in repository
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkrepo b/mkrepo
index 7872a08..aa0f86c 100755
--- a/mkrepo
+++ b/mkrepo
@@ -61,6 +61,7 @@ if [ "$dis" == "fedora" -a "$ver" -ge 99 ]; then
--compress-type=bz2 \
--database $(pwd)
else
+ cleanoldmeta repodata
echo "+ Génération repodata (createrepo, $check)"
createrepo --workers 4 \
--cachedir $cache \