[enh] Support new env. vars. in install script

This commit is contained in:
Julien Malik
2016-03-18 17:31:44 +01:00
parent a5fbda0bc7
commit f506747fac
3 changed files with 18 additions and 7 deletions

View File

@@ -3,7 +3,8 @@
# causes the shell to exit if any subcommand or pipeline returns a non-zero status
set -e
app=ynhexample
# See comments in install script
app=$YNH_APP_INSTANCE_NAME
# Retrieve arguments
domain=$(sudo yunohost app setting $app domain)