Merge pull request #294 from benhaines/patch-1

Added sudo as a dependency
This commit is contained in:
Alex Malinovich 2021-10-20 11:48:27 -04:00 committed by GitHub
commit 175886c615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -324,7 +324,7 @@ elif [ ! -z "$SUDO_USER" ]; then
abort "This script will ask for sudo as necessary, but you should not run it as sudo. Please try again."
fi
for req in wget git; do
for req in wget git sudo; do
if ! hash $req 2>/dev/null; then
install $req
fi