assist/command/install.py
def append_variable(cfile, var, val):
    """Writes a bash command to check if a variable is missing a
    value."""
    cfile.write('if [[ ":$%s:" != *":%s:"* ]]; then\n' % (var, val))
    cfile.write('    export %s=%s:$%s\n' % (var, val, var))
    cfile.write('fi\n')
Writes a bash command to check if a variable is missing a
    value.
Writes a bash command to check if a variable is missing a
value.
Writes a bash command to check if a variable is missing a value .
def append_variable(cfile, var, val):
    cfile.write('if [[ ":$%s:" != *":%s:"* ]]; then\n' % (var, val))
    cfile.write('    export %s=%s:$%s\n' % (var, val, var))
    cfile.write('fi\n')
def append_variable ( cfile , var , val ) : cfile . write ( 'if [[ ":$%s:" != *":%s:"* ]]; then\n' % ( var , val ) ) cfile . write ( '    export %s=%s:$%s\n' % ( var , val , var ) ) cfile . write ( 'fi\n' )
Writes a bash command to check if a variable is missing a
value.
Writes a bash command to check if a variable is missing a value .
"""Writes a bash command to check if a variable is missing a
    value."""
cfile
var
val