From 5919592ac50cb00500a59518ecd5dde638026e4e Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Thu, 29 May 2014 12:06:12 +0200 Subject: [PATCH] No need for external python script anymore --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 5debcc0..106128d 100755 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,7 @@ if [[ ! $? -eq 0 ]]; then fi # Check that admin user is an existing account -sudo yunohost user list | python ../conf/user_list.py | grep "^$admin_user$" >/dev/null +sudo yunohost user list --json | grep -q "\"username\": \"$admin_user\"" if [[ ! $? -eq 0 ]]; then echo "Error : the chosen admin user does not exist" exit 1