From 0e5543ca373f0ec434108a4f009a299129aaa512 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Sun, 20 Nov 2016 02:02:16 -0800 Subject: [PATCH] Remember to unset option when config is changed --- extras/installer.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/installer.sh b/extras/installer.sh index c0c7883..0f05b14 100644 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -70,6 +70,7 @@ configure_plexupdate() { echo echo -n "Do you want to install the latest PlexPass releases? " if yesno; then + PUBLIC= read -e -p "PlexPass Email Address: " -i "$EMAIL" EMAIL read -e -p "PlexPass Password: " -i "$PASS" PASS else @@ -103,6 +104,9 @@ configure_plexupdate() { PLEXSERVER= PLEXPORT= fi + else + PLEXSERVER= + PLEXPORT= fi save_config "AUTOUPDATE EMAIL PASS PUBLIC AUTOINSTALL PLEXSERVER PLEXPORT" "$CONFIGFILE"