diff --git a/scripts/install b/scripts/install index 7a8b93a..42793d5 100755 --- a/scripts/install +++ b/scripts/install @@ -13,6 +13,7 @@ if [[ ! $? -eq 0 ]]; then exit 1 fi + # Check that admin user is an existing account sudo yunohost user list --json | grep -q "\"username\": \"$admin_user\"" if [[ ! $? -eq 0 ]]; then