mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Don't enable -P in installer if we know it won't work
This commit is contained in:
parent
4317452c21
commit
6884a8e1d4
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue