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

Merge pull request #22 from polytan02/patch-1

Use of global values
This commit is contained in:
ewilly 2017-01-18 18:58:58 +01:00 committed by GitHub
commit 20dad0e459

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