From 775faf4ed421f22fe98bb12abd083abcb35221d4 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Thu, 29 May 2014 11:50:37 +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 9a342fd..4565a63 100755 --- a/scripts/install +++ b/scripts/install @@ -12,7 +12,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$" >/dev/null +sudo yunohost user list --json | grep -q '"username": "$admin"' if [[ ! $? -eq 0 ]]; then echo "Error : the chosen admin user does not exist" exit 1