On RHEL 7 we have yum instead of dnf
This commit is contained in:
parent
808454b561
commit
5dc19500ad
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user