mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
[fix] 'Paquets' is a french word. Use english
This commit is contained in:
parent
f33e1d7884
commit
1ca556ca1b
1 changed files with 7 additions and 7 deletions
14
ynh-dev
14
ynh-dev
|
@ -17,12 +17,12 @@ Usage :
|
||||||
Give the ip of the guest container
|
Give the ip of the guest container
|
||||||
`basename $0` upgrade
|
`basename $0` upgrade
|
||||||
Upgrade the container
|
Upgrade the container
|
||||||
`basename $0` deploy [PAQUET [PAQUET ...]]
|
`basename $0` deploy [PACKAGES [PACKAGES ...]]
|
||||||
Deploy sources to test it
|
Deploy sources to test it
|
||||||
`basename $0` watch [PAQUET [PAQUET ...]]
|
`basename $0` watch [PACKAGES [PACKAGES ...]]
|
||||||
Deploy sources each time there is change
|
Deploy sources each time there is change
|
||||||
|
|
||||||
PAQUET :
|
PACKAGES :
|
||||||
moulinette
|
moulinette
|
||||||
ssowat
|
ssowat
|
||||||
yunohost
|
yunohost
|
||||||
|
@ -58,9 +58,9 @@ start_dockerd() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
paquets=${@:2}
|
packages=${@:2}
|
||||||
if [ "$#" = "1" ]; then
|
if [ "$#" = "1" ]; then
|
||||||
paquets=('moulinette' 'ssowat' 'yunohost' 'yunohost-admin')
|
packages=('moulinette' 'ssowat' 'yunohost' 'yunohost-admin')
|
||||||
fi
|
fi
|
||||||
|
|
||||||
BASE_DIR=./
|
BASE_DIR=./
|
||||||
|
@ -142,8 +142,8 @@ elif [ "$1" = "ip" ]; then
|
||||||
/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'
|
/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'
|
||||||
elif [ "$1" = "deploy" ]; then
|
elif [ "$1" = "deploy" ]; then
|
||||||
check_yunohost_vm
|
check_yunohost_vm
|
||||||
for i in ${!paquets[@]}; do
|
for i in ${!packages[@]}; do
|
||||||
case ${paquets[i]} in
|
case ${packages[i]} in
|
||||||
moulinette)
|
moulinette)
|
||||||
# Install moulinette
|
# Install moulinette
|
||||||
cd $BASE_DIR/moulinette
|
cd $BASE_DIR/moulinette
|
||||||
|
|
Loading…
Add table
Reference in a new issue