summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-26 08:51:04 +0100
committerRemi Collet <remi@remirepo.net>2018-01-26 08:51:04 +0100
commita87f4dcd99d2738e5ac64bad85be3546f7ebdb6d (patch)
tree3a4a52509088b2af934596dc8f4a8e784291b19e /mkrepo
parent4a462b6b5b0908b16d82e3b088d2fed56e36d86f (diff)
use old deprecated yum command see https://bugzilla.redhat.com/1537981
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" ]