Don't enable -P in installer if we know it won't work

This commit is contained in:
Alex Malinovich 2016-12-05 16:28:14 -08:00
commit 6884a8e1d4

View file

@ -339,9 +339,12 @@ configure_cron
echo echo
echo -n "Configuration complete. Would you like to run plexupdate with these settings now? " echo -n "Configuration complete. Would you like to run plexupdate with these settings now? "
if yesno; then if yesno; then
if wget --show-progress -V &> /dev/null; then
PROGRESS_OPT="-P"
fi
if [ "$AUTOINSTALL" == "yes" ]; then if [ "$AUTOINSTALL" == "yes" ]; then
sudo "$FULL_PATH/plexupdate.sh" -P --config "$CONFIGFILE" sudo "$FULL_PATH/plexupdate.sh" $PROGRESS_OPT --config "$CONFIGFILE"
else else
"$FULL_PATH/plexupdate.sh" -P --config "$CONFIGFILE" "$FULL_PATH/plexupdate.sh" $PROGRESS_OPT --config "$CONFIGFILE"
fi fi
fi fi