Ejemplo n.º 1
0
def gist_main(msg, url_dir, git_repo, cmd_dir, source, cmd_bin):
    print styles.ColorFormat.BLUE + msg + styles.ColorFormat.RESET
    child = cmd_stat.gitclone(url_dir, git_repo, cmd_dir)
    if child != 0:
        return child
    child = cmd_stat.symlink(source, cmd_bin)
    return child
Ejemplo n.º 2
0
def setup():
    child = cmd_stat.gitclone(url_dir, git_repo, cmd_dir)
    if child != 0:
        return child
    call('chmod 755 %s/modules/*' % cmd_dir, shell=True)
    call('chmod 755 %s/modules/fakeupdate/*' % cmd_dir, shell=True)
    call('chmod 755 %s/core/*' % cmd_dir, shell=True)
    child = cmd_stat.symlink(source, cmd_bin)
    return child
Ejemplo n.º 3
0
def app_dock():
    dock_cat.cmd_cat(cmd_bin, '', '', cmd_src)
    cmd_stat.symlink(burp_jar, cmd_app)
    dock_cat.dock('others', icns_path, burp_jar)
Ejemplo n.º 4
0
def main():
    print msg
    cmd_stat.symlink(source, cmd_app)
    dock_cat.dock('apps', '', cmd_app)
Ejemplo n.º 5
0
def main():
    # should be fixed
    print styles.ColorFormat.BLUE + msg + styles.ColorFormat.RESET
    cmd_stat.symlink(source, cmd_bin)
Ejemplo n.º 6
0
def main():
    print msg
    cmd_stat.symlink(source, cmd_app)
    dock_cat.dock("apps", "", cmd_app)