From 8f906246b8875d9fcc797ec53b94b47755136976 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Mon, 4 Dec 2023 20:38:08 +0100 Subject: [PATCH] Update restore: check about /etc/influxdb doesnt make sense anymore --- scripts/restore | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index bb93d92..6c81de0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -13,9 +13,11 @@ source /usr/share/yunohost/helpers #================================================= # CHECK IF THE APP CAN BE RESTORED #================================================= -ynh_script_progression --message="Validating restoration parameters..." --weight=1 - -test ! -d "/etc/influxdb" || ynh_die --message="InfluxDB/Grafana are already installed" +#ynh_script_progression --message="Validating restoration parameters..." --weight=1 +# +# This old test doesn't seem to make sense in packaging v2 anymore, because at this stage the apt dependencies are already installed, so yes /etc/influxdb exists ... +# it's not clear what was really the intent +#test ! -d "/etc/influxdb" || ynh_die --message="InfluxDB/Grafana are already installed" #================================================= # STANDARD RESTORATION STEPS