Style fix for conditional

This commit is contained in:
Alex Malinovich 2020-07-21 14:02:40 -04:00
commit ca1fe0395e
No known key found for this signature in database
GPG key ID: F3327D1AA93CF5F0

View file

@ -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"