On RHEL 7 we have yum instead of dnf

This commit is contained in:
Alexander Todorov 2018-12-13 16:06:37 +02:00 committed by Alexander Todorov
parent 808454b561
commit 5dc19500ad
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ rlJournalStart
rlLogInfo "AWS_REGION=$AWS_REGION" rlLogInfo "AWS_REGION=$AWS_REGION"
if ! rlCheckRpm "python3-pip"; then if ! rlCheckRpm "python3-pip"; then
rlRun -t -c "dnf -y install python3-pip" rlRun -t -c "yum -y install python3-pip"
rlAssertRpm python3-pip rlAssertRpm python3-pip
fi fi

View File

@ -48,7 +48,7 @@ rlJournalStart
rlLogInfo "AZURE_STORAGE_CONTAINER=$AZURE_STORAGE_CONTAINER" rlLogInfo "AZURE_STORAGE_CONTAINER=$AZURE_STORAGE_CONTAINER"
if ! rlCheckRpm "python3-pip"; then if ! rlCheckRpm "python3-pip"; then
rlRun -t -c "dnf -y install python3-pip" rlRun -t -c "yum -y install python3-pip"
rlAssertRpm python3-pip rlAssertRpm python3-pip
fi fi

View File

@ -36,7 +36,7 @@ rlJournalStart
fi fi
if ! rlCheckRpm "python3-pip"; then if ! rlCheckRpm "python3-pip"; then
rlRun -t -c "dnf -y install python3-pip" rlRun -t -c "yum -y install python3-pip"
rlAssertRpm python3-pip rlAssertRpm python3-pip
fi fi

View File

@ -48,7 +48,7 @@ rlJournalStart
rlLogInfo "V_FOLDER=$V_FOLDER" rlLogInfo "V_FOLDER=$V_FOLDER"
if ! rlCheckRpm "python3-pip"; then if ! rlCheckRpm "python3-pip"; then
rlRun -t -c "dnf -y install python3-pip" rlRun -t -c "yum -y install python3-pip"
rlAssertRpm python3-pip rlAssertRpm python3-pip
fi fi