Skip to content

Patch Git step in Script Template #9

@jwarren116

Description

@jwarren116

The current portion of installer_template.py that is used if the choice category is 'Git' is only for installing Git, but the 'Git' category is also used when installing Git completion and the Git branch prompt. These categories need to be fixed by making them two categories, or somehow handling this differently in the script.

{% if choice.category == 'git' %}
elif url is None:
    call(['sudo', 'xcode-select', '--install'])
    raw_input('Press Enter to continue when finished installing Xcode.')
else:
    # This will prompt user for sudo password
    call(['sudo', 'apt-get', 'install', 'git'])
{% endif %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions