mirror of https://github.com/MISP/misp-dashboard
fix: [scl] Somewhy which scl does not work for user apache... (#92)
fix: [scl] Somewhy which scl does not work for user apache...pull/94/head
commit
599403ab76
|
@ -22,8 +22,7 @@ fi
|
||||||
|
|
||||||
if [[ -f "/etc/redhat-release" ]]; then
|
if [[ -f "/etc/redhat-release" ]]; then
|
||||||
echo "You are running a RedHat flavour. Detecting scl potential..."
|
echo "You are running a RedHat flavour. Detecting scl potential..."
|
||||||
SCL=$(which scl > /dev/null 2>&1)
|
if [[ -f "/usr/bin/scl" ]]; then
|
||||||
if [[ ! -z $SCL ]]; then
|
|
||||||
echo "scl detected, checking for redis-server"
|
echo "scl detected, checking for redis-server"
|
||||||
SCL_REDIS=$(scl -l|grep rh-redis)
|
SCL_REDIS=$(scl -l|grep rh-redis)
|
||||||
if [[ ! -z $SCL_REDIS ]]; then
|
if [[ ! -z $SCL_REDIS ]]; then
|
||||||
|
|
Loading…
Reference in New Issue