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

Merge pull request #2 from polytan02/patch-1

Use of global values
This commit is contained in:
frju365 2017-02-24 13:31:53 +01:00 committed by GitHub
commit 096a2f3f88

View file

@ -6,15 +6,15 @@ set -eu
source /usr/share/yunohost/helpers
# Retrieve app id
app=abantecart
app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments
domain=$1
path=$2
is_public=$3
user=$4
passwd=$5
email=$6
domain=$YNH_APP_ARG_DOMAIN
path=$YNH_APP_ARG_PATH
is_public=$YNH_APP_ARG_IS_PUBLIC
user=$YNH_APP_ARG_USER
passwd=$YNH_APP_ARG_PASSWD
email=$YNH_APP_ARG_EMAIL
script_dir=$PWD