From 92523d81c796c302bcc893976e9019f87115c2c7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 10 Jan 2021 17:07:31 +0100 Subject: [PATCH] Fix --- scripts/_common.sh | 20 ++++++++++++++++++++ scripts/install | 7 +++++++ 2 files changed, 27 insertions(+) diff --git a/scripts/_common.sh b/scripts/_common.sh index e69de29..52491aa 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +#================================================= +# COMMON VARIABLES +#================================================= + +# dependencies used by the app +pkg_dependencies="postgresql apt-transport-https" + +#================================================= +# PERSONAL HELPERS +#================================================= + +#================================================= +# EXPERIMENTAL HELPERS +#================================================= + +#================================================= +# FUTURE OFFICIAL HELPERS +#================================================= diff --git a/scripts/install b/scripts/install index 2418822..938d5be 100644 --- a/scripts/install +++ b/scripts/install @@ -67,6 +67,13 @@ root_path="$(pwd)/.." data_path="/home/yunohost.app/$app" logs_path="/var/log/$app" +#================================================= +# INSTALL DEPENDENCIES +#================================================= +ynh_script_progression --message="Installing dependencies..." --weight=10 + +ynh_install_app_dependencies $pkg_dependencies + #================================================= # CREATE A MYSQL DATABASE #=================================================