Browse Source

changes message

bugfixes
shitalp 10 years ago
parent
commit
8977e79d07
  1. 16
      ee/cli/plugins/stack.py

16
ee/cli/plugins/stack.py

@ -1676,8 +1676,8 @@ class EEStackController(CementBaseController):
' "yes" will be stop this' ' "yes" will be stop this'
' operation ') ' operation ')
else: else:
ee_apt_pkg_prompt = 'YES' ee_apt_pkg_prompt = 'Y'
if ee_apt_pkg_prompt == 'YES' or ee_apt_pkg_prompt == 'yes': if ee_apt_pkg_prompt == 'Y' or ee_apt_pkg_prompt == 'y':
Log.debug(self, "Removing apt_packages") Log.debug(self, "Removing apt_packages")
Log.info(self, "Removing packages, please wait ...") Log.info(self, "Removing packages, please wait ...")
EEAptGet.remove(self, apt_packages) EEAptGet.remove(self, apt_packages)
@ -1692,8 +1692,8 @@ class EEStackController(CementBaseController):
'"yes" will be stop this ' '"yes" will be stop this '
'operation ') 'operation ')
else: else:
ee_pkg_prompt = 'YES' ee_pkg_prompt = 'Y'
if ee_pkg_prompt == 'YES' or ee_pkg_prompt == 'yes': if ee_pkg_prompt == 'Y' or ee_pkg_prompt == 'y':
EEFileUtils.remove(self, packages) EEFileUtils.remove(self, packages)
EEAptGet.auto_remove(self) EEAptGet.auto_remove(self)
Log.info(self, "Successfully removed packages") Log.info(self, "Successfully removed packages")
@ -1798,8 +1798,8 @@ class EEStackController(CementBaseController):
'"yes" will be stop this ' '"yes" will be stop this '
'operation ') 'operation ')
else: else:
ee_apt_pkg_prompt = 'YES' ee_apt_pkg_prompt = 'Y'
if ee_apt_pkg_prompt == 'YES' or ee_apt_pkg_prompt == 'yes': if ee_apt_pkg_prompt == 'Y' or ee_apt_pkg_prompt == 'y':
Log.info(self, "Purging packages, please wait ...") Log.info(self, "Purging packages, please wait ...")
EEAptGet.remove(self, apt_packages, purge=True) EEAptGet.remove(self, apt_packages, purge=True)
EEAptGet.auto_remove(self) EEAptGet.auto_remove(self)
@ -1812,8 +1812,8 @@ class EEStackController(CementBaseController):
'"yes" will be stop this ' '"yes" will be stop this '
'operation ') 'operation ')
else: else:
ee_pkg_prompt = 'YES' ee_pkg_prompt = 'Y'
if ee_pkg_prompt == 'YES' or ee_pkg_prompt == 'yes': if ee_pkg_prompt == 'Y' or ee_pkg_prompt == 'y':
EEFileUtils.remove(self, packages) EEFileUtils.remove(self, packages)
EEAptGet.auto_remove(self) EEAptGet.auto_remove(self)
Log.info(self, "Successfully purged packages") Log.info(self, "Successfully purged packages")

Loading…
Cancel
Save