Browse Source

remove nginx-mainline url

develop
Prabuddha Chakraborty 9 years ago
parent
commit
0bf0d8d2bb
  1. 10
      ee/cli/plugins/stack.py

10
ee/cli/plugins/stack.py

@ -2003,6 +2003,11 @@ class EEStackController(CementBaseController):
EEAptGet.remove(self, apt_packages)
EEAptGet.auto_remove(self)
if set(["nginx-mainline"]).issubset(set(apt_packages)):
Log.info(self, "Removing repository for NGINX MAINLINE,")
EERepo.remove(self, repo_url=EEVariables.ee_nginx_dev_repo)
Log.info(self, "Successfully removed packages")
@expose(help="Purge packages")
@ -2134,6 +2139,11 @@ class EEStackController(CementBaseController):
EEFileUtils.remove(self, packages)
EEAptGet.auto_remove(self)
if set(["nginx-mainline"]).issubset(set(apt_packages)):
Log.info(self, "Removing repository for NGINX MAINLINE,")
EERepo.remove(self, repo_url=EEVariables.ee_nginx_dev_repo)
Log.info(self, "Successfully purged packages")
def load(app):

Loading…
Cancel
Save