mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 21:03:19 -07:00
Remember to unset option when config is changed
This commit is contained in:
parent
6547758cdc
commit
0e5543ca37
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue