From f7f2da353530d97c65ac309e41af462ce15ef64f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 8 Jun 2021 08:43:33 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/install b/scripts/install index 5f9087e..63cf817 100644 --- a/scripts/install +++ b/scripts/install @@ -27,6 +27,14 @@ is_public=$YNH_APP_ARG_IS_PUBLIC app=$YNH_APP_INSTANCE_NAME +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + : +else + if [ ! -f /etc/systemd/system/mumbleserver.service ]; then + ynh_die --message="In order to install Mumlble-web client you must install Mumble-server first" + fi +fi + #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #=================================================