From bc764d294280b192075857a7dc60ba35289eaf52 Mon Sep 17 00:00:00 2001 From: Ben Haines Date: Wed, 20 Oct 2021 08:23:47 +0100 Subject: [PATCH] Added sudo as a dependency --- extras/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/installer.sh b/extras/installer.sh index c83f878..ab6ad35 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -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