From 0a4d20e6bd9ecf270f4d99e6058aa4e5b925eb5e Mon Sep 17 00:00:00 2001 From: magikcypress Date: Tue, 21 Feb 2017 17:07:30 +0100 Subject: [PATCH] [test] ne pas check le user --- scripts/.fonctions | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/.fonctions b/scripts/.fonctions index 7a57870..9ce8c13 100644 --- a/scripts/.fonctions +++ b/scripts/.fonctions @@ -42,7 +42,7 @@ TRAP_OFF () { # Ignoring signal capture until TRAP_ON CHECK_USER () { # Vérifie la validité de l'user admin # $1 = Variable de l'user admin. - # ynh_user_exists "$1" || (echo "Wrong admin" >&2 && false) + ynh_user_exists "$1" || (echo "Wrong admin" >&2 && false) } CHECK_PATH () { # Vérifie la présence du / en début de path. Et son absence à la fin. diff --git a/scripts/install b/scripts/install index fb6a549..9010554 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,7 @@ source /usr/share/yunohost/helpers CHECK_VAR "$app" "app name not set" -CHECK_USER "$admin_spip" +# CHECK_USER "$admin_spip" CHECK_PATH