mirror of
https://github.com/YunoHost-Apps/linuxdash_ynh.git
synced 2024-09-03 19:36:07 +02:00
fix
This commit is contained in:
parent
bc29c75978
commit
aed83920f3
4 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ ynh_add_supervisor_config () {
|
||||||
local template="${template:-supervisor.service}"
|
local template="${template:-supervisor.service}"
|
||||||
others_var="${others_var:-}"
|
others_var="${others_var:-}"
|
||||||
|
|
||||||
[[ -z "$others_var" ]] || ynh_print_warn --message="Packagers: using --others_var is unecessary since Yunohost 4.2"
|
[[ -z "$others_var" ]] || ynh_print_warn --message="Packagers: using others var is unecessary since Yunohost 4.2"
|
||||||
|
|
||||||
ynh_add_config --template="$YNH_APP_BASEDIR/conf/$template" --destination="/etc/supervisor/conf.d/$service.conf"
|
ynh_add_config --template="$YNH_APP_BASEDIR/conf/$template" --destination="/etc/supervisor/conf.d/$service.conf"
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ ynh_script_progression --message="Building app..."
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_npm install --production
|
ynh_exec_warn_less ynh_npm install --production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -69,7 +69,7 @@ ynh_script_progression --message="Building app..."
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_npm install --production
|
ynh_exec_warn_less ynh_npm install --production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue