diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 7e9d652e..5d242489 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -162,7 +162,7 @@ class EEStackController(CementBaseController): Log.info(self, "Adding repository for PHP, please wait...") # Add repository for php if EEVariables.ee_platform_distro == 'debian': - if EEVariables.ee_platform_codename is not 'jessie': + if EEVariables.ee_platform_codename != 'jessie': Log.debug(self, 'Adding repo_url of php for debian') EERepo.add(self, repo_url=EEVariables.ee_php_repo) Log.debug(self, 'Adding Dotdeb/php GPG key') diff --git a/install b/install index 2ca76cf7..c7a1648e 100644 --- a/install +++ b/install @@ -63,7 +63,7 @@ if [ "$ee_linux_distro" != "Ubuntu" ] && [ "$ee_linux_distro" != "Debian" ]; the fi # EasyEngine (ee) only support all Ubuntu/Debian distro except the distro reached EOL -lsb_release -d | egrep -e "12.04|14.04|wheezy" &>> /dev/null +lsb_release -d | egrep -e "12.04|14.04|wheezy|jessie" &>> /dev/null if [ "$?" -ne "0" ]; then ee_lib_echo_fail "EasyEngine (ee) only support Ubuntu 12.04/14.04 and Debian 7.x" exit 100