From 5a3a5cd23c7a2a85c86636491f8f5203a5b3c444 Mon Sep 17 00:00:00 2001 From: Alexis Gavoty Date: Thu, 29 May 2014 11:54:12 +0200 Subject: [PATCH] [fix] Properly check YunoHost users --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index d705683..739d17e 100644 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,7 @@ if [[ ! $? -eq 0 ]]; then fi # Check user -ls /home | grep $user +sudo yunohost user list --json | grep -q '"username": "$user"' if [[ ! $? -eq 0 ]]; then echo "Wrong user" exit 1