From a87f4dcd99d2738e5ac64bad85be3546f7ebdb6d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 26 Jan 2018 08:51:04 +0100 Subject: use old deprecated yum command see https://bugzilla.redhat.com/1537981 --- mkrepo | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mkrepo') 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" ] -- cgit