From 07f0e6e4f3cbea2e6ed2c8b9621330ca76347bf6 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Sat, 29 Aug 2015 02:30:34 +0200 Subject: [PATCH] Check admin user case insensitive --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 4b48183..e864bb8 100644 --- a/scripts/install +++ b/scripts/install @@ -12,7 +12,7 @@ exit 1 fi # Check that admin user is an existing account -sudo yunohost user list --json | grep -q "\"username\": \"$admin_user\"" +sudo yunohost user list --json | grep -qi "\"username\": \"$admin_user\"" if [[ ! $? -eq 0 ]]; then echo "Error : the chosen admin user does not exist" exit 1