From 242946d37d388959f463031b5abe2f807312e3cb Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Mon, 28 Nov 2016 20:21:39 -0800 Subject: [PATCH] Relaxed email checking for installer --- extras/installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/installer.sh b/extras/installer.sh index 86628ef..647616e 100755 --- a/extras/installer.sh +++ b/extras/installer.sh @@ -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