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 source /usr/share/yunohost/helpers
# Retrieve app id # Retrieve app id
app=abantecart app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments # Retrieve arguments
domain=$1 domain=$YNH_APP_ARG_DOMAIN
path=$2 path=$YNH_APP_ARG_PATH
is_public=$3 is_public=$YNH_APP_ARG_IS_PUBLIC
user=$4 user=$YNH_APP_ARG_USER
passwd=$5 passwd=$YNH_APP_ARG_PASSWD
email=$6 email=$YNH_APP_ARG_EMAIL
script_dir=$PWD script_dir=$PWD