Exemplo n.º 1
0
def get_apache_path():
    ryw.db_raise_or_print3("ryw_linux:get_apache_path() called.", 50)
    try:
        output = get_subprocess_output_line(["/usr/bin/which", "apache2"])
    except:
        ryw.give_bad_news3("can't find apache.")
        output = "/dev/null"
    return output
Exemplo n.º 2
0
def create_registry_entry(dst):
    """moved from install-repository-lai.py
    create repository path in windows registry."""
    ryw.db_raise_or_print3("ryw_linux:create_registry_entry() called.", 50)