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:
parent
887f0fd060
commit
17618e6f15
1 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue