fix up expressions to detect epel
This commit is contained in:
parent
f937f1380b
commit
1ca0848e8b
@ -30,8 +30,10 @@ if [ "$SELINUX" != "Enforcing" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
is_epel=$(r_checkEPELEnabled)
|
r_checkEPELEnabled
|
||||||
if [ "$is_epel" -ne 0 ]; then
|
is_epel=$?
|
||||||
|
if [[ "$is_epel" == "0" ]]; then
|
||||||
|
echo "EPEL enabled. Stop."
|
||||||
r_log "internal" "EPEL enabled. Stop."
|
r_log "internal" "EPEL enabled. Stop."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user