summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkrepo b/mkrepo
index 5790363..2e2f854 100755
--- a/mkrepo
+++ b/mkrepo
@@ -35,7 +35,9 @@ fi
echo "+ Nettoyage des anciens ($old)"
-dnf repomanage --old --keep=$old . | tee $TMP
+# use old deprecated yum command see https://bugzilla.redhat.com/1537981
+#dnf repomanage --old --keep=$old . | tee $TMP
+repomanage --old --keep=$old . 2>/dev/null | tee $TMP
LST=$(cat $TMP)
if [ -z "$LST" ]