From 1ca556ca1bd37fa2089d69f5981d387dba83d261 Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 15 Mar 2016 11:35:25 +0100 Subject: [PATCH] =?UTF-8?q?[fix]=C2=A0'Paquets'=20is=20a=20french=20word.?= =?UTF-8?q?=20Use=20english?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ynh-dev | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ynh-dev b/ynh-dev index d9f4cf6..e10bfa7 100755 --- a/ynh-dev +++ b/ynh-dev @@ -17,12 +17,12 @@ Usage : Give the ip of the guest container `basename $0` upgrade Upgrade the container - `basename $0` deploy [PAQUET [PAQUET ...]] + `basename $0` deploy [PACKAGES [PACKAGES ...]] Deploy sources to test it - `basename $0` watch [PAQUET [PAQUET ...]] + `basename $0` watch [PACKAGES [PACKAGES ...]] Deploy sources each time there is change -PAQUET : +PACKAGES : moulinette ssowat yunohost @@ -58,9 +58,9 @@ start_dockerd() { fi } -paquets=${@:2} +packages=${@:2} if [ "$#" = "1" ]; then - paquets=('moulinette' 'ssowat' 'yunohost' 'yunohost-admin') + packages=('moulinette' 'ssowat' 'yunohost' 'yunohost-admin') fi BASE_DIR=./ @@ -142,8 +142,8 @@ elif [ "$1" = "ip" ]; then /sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' elif [ "$1" = "deploy" ]; then check_yunohost_vm - for i in ${!paquets[@]}; do - case ${paquets[i]} in + for i in ${!packages[@]}; do + case ${packages[i]} in moulinette) # Install moulinette cd $BASE_DIR/moulinette