From 97a60fbb87da10571dcdae35cfa983f46cb7ebea Mon Sep 17 00:00:00 2001 From: harshadyeola Date: Thu, 18 Dec 2014 16:24:40 +0530 Subject: [PATCH] minor fix --- ee/cli/plugins/stack.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ee/cli/plugins/stack.py b/ee/cli/plugins/stack.py index 9b8a9c78..c3de8c66 100644 --- a/ee/cli/plugins/stack.py +++ b/ee/cli/plugins/stack.py @@ -74,17 +74,17 @@ class EEStackController(CementBaseController): if set(EEVariables.ee_nginx).issubset(set(apt_packages)): print("Adding repository for nginx ... ") if EEVariables.ee_platform_distro == 'Debian': - EERepo.add(repo_url=EEVariables.ee_mysql_repo) + EERepo.add(repo_url=EEVariables.ee_nginx_repo) else: - EERepo.add(ppa=EEVariables.ee_mysql_repo) + EERepo.add(ppa=EEVariables.ee_nginx_repo) if set(EEVariables.ee_php).issubset(set(apt_packages)): print("Adding repository for php ... ") if EEVariables.ee_platform_distro == 'Debian': + EERepo.add(repo_url=EEVariables.ee_php_repo) EERepo.add_key('89DF5277') - EERepo.add(repo_url=EEVariables.ee_mysql_repo) else: - EERepo.add(ppa=EEVariables.ee_mysql_repo) + EERepo.add(ppa=EEVariables.ee_php_repo) @expose(hide=True) def post_pref(self, apt_packages, packages):