Fix stack upgrade

This commit is contained in:
VirtuBox
2019-08-20 06:44:23 +02:00
parent 54cc0e8eb2
commit 3853df76e5

View File

@@ -178,8 +178,8 @@ class WOStackUpgradeController(CementBaseController):
# Check prompt
if ((not pargs.no_prompt) and (not pargs.force)):
start_upgrade = input("Do you want to continue:[y/N]")
if start_upgrade != "Y" and start_upgrade != "y":
Log.error(self, "Not starting package update")
if start_upgrade != "Y" and start_upgrade != "y":
Log.error(self, "Not starting package update")
Log.info(self, "Updating APT packages, please wait...")
# apt-get update
WOAptGet.update(self)