diff --git a/scripts/install b/scripts/install index bf3d1ad..2701bc4 100644 --- a/scripts/install +++ b/scripts/install @@ -12,7 +12,7 @@ if [[ ! $? -eq 0 ]]; then fi # Check if admin exists -sudo yunohost user list --json | grep -q "\"username\": \"$admin_ampache\"" +sudo yunohost user list --json | grep -qi "\"username\": \"$admin_ampache\"" if [[ ! $? -eq 0 ]]; then echo "Wrong admin" exit 1