forked from sig_core/toolkit
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
|
||||
fi
|
||||
|
||||
is_epel=$(r_checkEPELEnabled)
|
||||
if [ "$is_epel" -ne 0 ]; then
|
||||
r_checkEPELEnabled
|
||||
is_epel=$?
|
||||
if [[ "$is_epel" == "0" ]]; then
|
||||
echo "EPEL enabled. Stop."
|
||||
r_log "internal" "EPEL enabled. Stop."
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user