mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 02:26:56 -07:00
Skip email/pass sanity check if stored cookie exists
This commit is contained in:
parent
76db00e42a
commit
732b503dae
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ if [ "${AUTOUPDATE}" == "yes" ]; then
|
|||
fi
|
||||
|
||||
# Sanity check
|
||||
if [ "${EMAIL}" == "" -o "${PASS}" == "" ] && [ "${PUBLIC}" == "no" ]; then
|
||||
echo "Error: Need username & password to download PlexPass version. Otherwise run with -p to download public version."
|
||||
if [ "${EMAIL}" == "" -o "${PASS}" == "" ] && [ "${PUBLIC}" == "no" ] && [ ! -f /tmp/kaka ]; then
|
||||
echo "Error: Need username & password or -k optoin to download PlexPass version. Otherwise run with -p to download public version."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue