Fix fix htop.

This commit is contained in:
Ivan Malison 2014-12-31 11:13:27 -05:00
parent 2c679ad7ed
commit 3fc4fa3aa5

View File

@ -142,7 +142,7 @@ def cl_tools(ctx):
@ctask
def fix_htop(ctx):
real_htop_location = ctx.run("readlink -f $(brew --prefix htop)").stdout.strip() + "/bin/htop"
ctx.run("chmod 6555 {0}".format(real_htop_location))
ctx.run("sudo chmod 6555 {0}".format(real_htop_location))
ctx.run("sudo chown root {0}".format(real_htop_location))