diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index f498af2e..cade87e0 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -1255,11 +1255,11 @@ then APTASSUMEYES # Define Nginx Package - if [ -f /etc/lsb-release ] + if [ "$LINUX_DISTRO" == "Ubuntu" ] then NGINXPACKAGE=nginx-custom - elif [ -f /etc/debian_version ] + elif [ "$LINUX_DISTRO" == "Debian" ] then NGINXPACKAGE=nginx-full fi