From 345270c85dfc94be429ec8186726364f27286df5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A9veloppeur=20=C3=A9gar=C3=A9?= Date: Sun, 31 May 2015 13:21:26 +0200 Subject: [PATCH] remove user admin settings --- scripts/install | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index 42537a9..bc9f00f 100755 --- a/scripts/install +++ b/scripts/install @@ -2,18 +2,18 @@ # Retrieve arguments domain=$1 -user=$2 -is_public=$3 +#user=$2 +is_public=$2 versionname=$(lsb_release -a | grep Codename | awk -F' ' '{print $2}') # Check user parameter -sudo yunohost user list --json | grep -q "\"username\": \"$user\"" -if [[ ! $? -eq 0 ]]; then - echo "Wrong user" - exit 1 -fi -sudo yunohost app setting diaspora admin_user -v $user +#sudo yunohost user list --json | grep -q "\"username\": \"$user\"" +#if [[ ! $? -eq 0 ]]; then +# echo "Wrong user" +# exit 1 +#fi +#sudo yunohost app setting diaspora admin_user -v $user # Check domain/path availability sudo yunohost app checkurl $domain -a diaspora