Final fix for cheat
This commit is contained in:
@@ -459,8 +459,8 @@ class WOStackController(CementBaseController):
|
||||
'/var/lib/wo/tmp/anemometer.tar.gz',
|
||||
'Anemometer']]
|
||||
if pargs.cheat:
|
||||
if (not os.path.isfile('/usr/local/bin/cht.sh') and
|
||||
not os.path.isfile('/usr/bin/cht.sh')):
|
||||
if ((not os.path.isfile('/usr/local/bin/cht.sh')) and
|
||||
(not os.path.isfile('/usr/bin/cht.sh'))):
|
||||
Log.debug(self, "Setting packages variable for cht.sh")
|
||||
WOShellExec.cmd_exec(
|
||||
self, "/usr/bin/curl https://cht.sh/:cht.sh "
|
||||
|
||||
Reference in New Issue
Block a user