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 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