mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-05 20:51:16 -07:00
Added sudo as a dependency
This commit is contained in:
parent
9a3019223b
commit
bc764d2942
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue