diff --git a/extras/installer.sh b/extras/installer.sh index c05b35a..51085cb 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -358,7 +358,7 @@ if yesno; then if wget --show-progress -V &> /dev/null; then PROGRESS_OPT="-P" fi - if [ "$AUTOINSTALL" == "yes" ] || [ "$CRON" == "yes" ]; then + if [ "$AUTOINSTALL" == "yes" -o "$CRON" == "yes" ]; then sudo -E "$FULL_PATH/plexupdate.sh" $PROGRESS_OPT --config "$CONFIGFILE" else "$FULL_PATH/plexupdate.sh" $PROGRESS_OPT --config "$CONFIGFILE"