Skip to content

Automatic installation of git and dialog if missing #31

@jancborchardt

Description

@jancborchardt

Currently there’s a check for the git and dialog packages. If they are not present, the setup exits:

type -P git &>/dev/null && echo "Found git command." || { echo "Did not find git. Try 'sudo apt-get install -y git' first."; doexit=1; }
type -P dialog &>/dev/null && echo "Found dialog command." || { echo "Did not find dialog. Try 'sudo apt-get install -y dialog' first."; doexit=1; }

Instead, we could just let the script do the commands and install the packages, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions