mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 05:13:19 -07:00
Relaxed email checking for installer
This commit is contained in:
parent
3a08026464
commit
242946d37d
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ configure_plexupdate() {
|
|||
PUBLIC=
|
||||
while true; do
|
||||
read -e -p "PlexPass Email Address: " -i "$EMAIL" EMAIL
|
||||
if [ -z "$EMAIL" ] || [[ "$EMAIL" != *"@"*"."* ]]; then
|
||||
if [ -z "${EMAIL}" ] || [[ "$EMAIL" == *"@"* ]] && [[ "$EMAIL" != *"@"*"."* ]]; then
|
||||
echo "Please provide a valid email address"
|
||||
else
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue