mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Adding dependencies
This commit is contained in:
parent
03a7bafc74
commit
dffe065991
4 changed files with 4 additions and 3 deletions
|
@ -5,7 +5,7 @@ PATH=__NODEJS_PATH__
|
||||||
PORT=__PORT__
|
PORT=__PORT__
|
||||||
|
|
||||||
# The directory where is store the database
|
# The directory where is store the database
|
||||||
DB_DIR=__FINALPATH__/db
|
DB_DIR=__FINALPATH__/distbin-db
|
||||||
|
|
||||||
# The external URL
|
# The external URL
|
||||||
EXTERNAL_URL=https://__DOMAIN_URI__
|
EXTERNAL_URL=https://__DOMAIN_URI__
|
||||||
|
|
|
@ -97,6 +97,7 @@ ynh_app_setting_set $app port $port
|
||||||
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
||||||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||||
|
|
||||||
|
ynh_install_app_dependencies ca-certificates
|
||||||
ynh_install_nodejs 8
|
ynh_install_nodejs 8
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -93,7 +93,7 @@ chown -R $app:$app /var/log/$app
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Define and install dependencies
|
# Define and install dependencies
|
||||||
#ynh_install_app_dependencies
|
ynh_install_app_dependencies ca-certificates
|
||||||
ynh_install_nodejs 8
|
ynh_install_nodejs 8
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -101,7 +101,7 @@ ynh_add_nginx_config
|
||||||
# UPGRADE DEPENDENCIES
|
# UPGRADE DEPENDENCIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
#ynh_install_app_dependencies deb1 deb2
|
ynh_install_app_dependencies ca-certificates
|
||||||
ynh_install_nodejs 8
|
ynh_install_nodejs 8
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue