From c30389edcd8e56e08310b2a7bbd509b569e43fab Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Mon, 17 Nov 2014 14:42:57 +0100 Subject: [PATCH] [fix] remove unnecessary sudo --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 0e4810a..e27e5a3 100644 --- a/scripts/install +++ b/scripts/install @@ -54,11 +54,11 @@ sudo yunohost app ssowatconf #make request to install app #get the html page -sudo curl -kL -o install_page.html https://$domain/$path/install.php >/dev/null 2>&1 +curl -kL -o install_page.html https://$domain/$path/install.php >/dev/null 2>&1 #get the token for form validation token=$(sudo cat install_page.html | grep "input" | grep "token" | tail -1 | cut -d' ' -f3 | cut -d'"' -f2) #send http POST values -sudo curl -k -X POST \ +curl -k -X POST \ --data-urlencode "default_lang=$default_lang" \ --data-urlencode "install=Installer" \ --data-urlencode "name=$admin" \