mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -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
|
fi
|
||||||
|
|
||||||
# Sanity check
|
# Sanity check
|
||||||
if [ "${EMAIL}" == "" -o "${PASS}" == "" ] && [ "${PUBLIC}" == "no" ]; then
|
if [ "${EMAIL}" == "" -o "${PASS}" == "" ] && [ "${PUBLIC}" == "no" ] && [ ! -f /tmp/kaka ]; then
|
||||||
echo "Error: Need username & password to download PlexPass version. Otherwise run with -p to download public version."
|
echo "Error: Need username & password or -k optoin to download PlexPass version. Otherwise run with -p to download public version."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue