Browse Source

minor fix

bugfixes
harshadyeola 10 years ago
parent
commit
97a60fbb87
  1. 8
      ee/cli/plugins/stack.py

8
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):

Loading…
Cancel
Save