diff --git a/scripts/restore b/scripts/restore index b189c7e..2b6b602 100644 --- a/scripts/restore +++ b/scripts/restore @@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers #================================================= # CHECK IF THE APP CAN BE RESTORED #================================================= -#REMOVEME? ynh_script_progression --message="Validating restoration parameters..." --weight=1 +ynh_script_progression --message="Validating restoration parameters..." --weight=1 test ! -d "/etc/influxdb" \ || ynh_die --message="InfluxDB / Grafana are already installed" diff --git a/scripts/upgrade b/scripts/upgrade index 29088a9..8a13bee 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -18,7 +18,7 @@ upgrade_type=$(ynh_check_app_version_changed) #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= -#REMOVEME? ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=4 +ynh_script_progression --message="Backing up the app before upgrading (may take a while)..." --weight=4 # Workaround for missing "/var/lib/grafana/plugins" mkdir -p "/var/lib/grafana/plugins"