Browse Source

bypass php repo add for jessie

servicefixes
harshadyeola 10 years ago
parent
commit
a4a202459d
  1. 10
      ee/cli/plugins/stack.py

10
ee/cli/plugins/stack.py

@ -160,11 +160,13 @@ class EEStackController(CementBaseController):
if set(EEVariables.ee_php).issubset(set(apt_packages)): if set(EEVariables.ee_php).issubset(set(apt_packages)):
Log.info(self, "Adding repository for PHP, please wait...") Log.info(self, "Adding repository for PHP, please wait...")
# Add repository for php
if EEVariables.ee_platform_distro == 'debian': if EEVariables.ee_platform_distro == 'debian':
Log.debug(self, 'Adding repo_url of php for debian') if EEVariables.ee_platform_codename is not 'jessie':
EERepo.add(self, repo_url=EEVariables.ee_php_repo) Log.debug(self, 'Adding repo_url of php for debian')
Log.debug(self, 'Adding Dotdeb/php GPG key') EERepo.add(self, repo_url=EEVariables.ee_php_repo)
EERepo.add_key(self, '89DF5277') Log.debug(self, 'Adding Dotdeb/php GPG key')
EERepo.add_key(self, '89DF5277')
else: else:
Log.debug(self, 'Adding ppa for PHP') Log.debug(self, 'Adding ppa for PHP')
EERepo.add(self, ppa=EEVariables.ee_php_repo) EERepo.add(self, ppa=EEVariables.ee_php_repo)

Loading…
Cancel
Save