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
# retrieve arguments
app=bozon
domain=$1
path=$2
is_public=$3
language=$4
filesize=$5
admin=$6
password=$7
app=$YNH_APP_INSTANCE_NAME
domain=$YNH_APP_ARG_DOMAIN
path=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
language=$YNH_APP_ARG_IS_LANGUAGE
filesize=$YNH_APP_ARG_IS_FILESIZE
admin=$YNH_APP_ARG_IS_ADMIN
password=$YNH_APP_ARG_IS_PASSWORD
# chech if / is present at start and not at end