Skip to content

Commit 8ee3754

Browse files
committed
Fixed Issue #136
1 parent 0a9550b commit 8ee3754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

usr/local/sbin/easyengine

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,11 +1255,11 @@ then
12551255
APTASSUMEYES
12561256

12571257
# Define Nginx Package
1258-
if [ -f /etc/lsb-release ]
1258+
if [ "$LINUX_DISTRO" == "Ubuntu" ]
12591259
then
12601260
NGINXPACKAGE=nginx-custom
12611261

1262-
elif [ -f /etc/debian_version ]
1262+
elif [ "$LINUX_DISTRO" == "Debian" ]
12631263
then
12641264
NGINXPACKAGE=nginx-full
12651265
fi

0 commit comments

Comments
 (0)