From 994d73e2af9e5f7adf466705c885718d19e51cd4 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Wed, 19 Dec 2018 18:54:14 +0100 Subject: [PATCH] Update restore --- scripts/restore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index e8bf004..bc98b6c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -25,14 +25,14 @@ ynh_abort_if_errors ### guaranteed to be unique. This is a good unique identifier to define installation path, ### db names, ... app="zabbix" - +final_path="/var/www/zabbix" #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #================================================= ### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app". ### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app" -rm -fr /var/www/zabbix +rm -fr $final_path #================================================= # STORE SETTINGS FROM MANIFEST