mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 02:26:56 -07:00
Make extras/installer install dependencies even when run as root
This commit is contained in:
parent
a6953f1217
commit
17cac380b1
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,8 @@ install() {
|
|||
|
||||
if [ $EUID -ne 0 ]; then
|
||||
sudo $DISTRO_INSTALL $1 || abort "Failed while trying to install '$1'. Please install it manually and try again."
|
||||
else
|
||||
$DISTRO_INSTALL $1 || abort "Failed while trying to install '$1'. Please install it manually and try again."
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue