1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Use of global values

This commit is contained in:
polytan02 2017-01-17 19:08:23 +00:00 committed by GitHub
parent 887f0fd060
commit 17618e6f15

View file

@ -7,14 +7,14 @@ set -eu
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
# retrieve arguments # retrieve arguments
app=bozon app=$YNH_APP_INSTANCE_NAME
domain=$1 domain=$YNH_APP_ARG_DOMAIN
path=$2 path=$YNH_APP_ARG_PATH
is_public=$3 is_public=$YNH_APP_ARG_IS_PUBLIC
language=$4 language=$YNH_APP_ARG_IS_LANGUAGE
filesize=$5 filesize=$YNH_APP_ARG_IS_FILESIZE
admin=$6 admin=$YNH_APP_ARG_IS_ADMIN
password=$7 password=$YNH_APP_ARG_IS_PASSWORD
# chech if / is present at start and not at end # chech if / is present at start and not at end