mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-21 13:53:21 -07:00
Test run should run with sudo if installed as root. Fixes #277
This commit is contained in:
parent
7231223070
commit
0f3dac9585
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ if yesno; then
|
|||
if wget --show-progress -V &> /dev/null; then
|
||||
PROGRESS_OPT="-P"
|
||||
fi
|
||||
if [ "$AUTOINSTALL" == "yes" ]; then
|
||||
if [ "$AUTOINSTALL" == "yes" ] || [ -f "$CONFIGCRON" ]; then
|
||||
sudo -E "$FULL_PATH/plexupdate.sh" $PROGRESS_OPT --config "$CONFIGFILE"
|
||||
else
|
||||
"$FULL_PATH/plexupdate.sh" $PROGRESS_OPT --config "$CONFIGFILE"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue