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