Update Travis and tests
This commit is contained in:
@@ -762,14 +762,15 @@ class WOStackController(CementBaseController):
|
||||
.format(WOVariables.wo_webroot)]
|
||||
|
||||
if (packages) or (apt_packages):
|
||||
wo_prompt = input('Are you sure you to want to purge '
|
||||
'from server '
|
||||
'along with their configuration'
|
||||
' packages,\nAny answer other than '
|
||||
'"yes" will be stop this '
|
||||
'operation :')
|
||||
if not pargs.force:
|
||||
wo_prompt = input('Are you sure you to want to purge '
|
||||
'from server '
|
||||
'along with their configuration'
|
||||
' packages,\nAny answer other than '
|
||||
'"yes" will be stop this '
|
||||
'operation :')
|
||||
|
||||
if wo_prompt == 'YES' or wo_prompt == 'yes' or pargs.force:
|
||||
if (wo_prompt == 'YES' or wo_prompt == 'yes' or pargs.force):
|
||||
|
||||
if (set(["nginx-custom"]).issubset(set(apt_packages))):
|
||||
WOService.stop_service(self, 'nginx')
|
||||
|
||||
Reference in New Issue
Block a user