1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00

Update restore: check about /etc/influxdb doesnt make sense anymore

This commit is contained in:
Alexandre Aubin 2023-12-04 20:38:08 +01:00 committed by GitHub
parent 7a81c469fd
commit 8f906246b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,9 +13,11 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
# CHECK IF THE APP CAN BE RESTORED # CHECK IF THE APP CAN BE RESTORED
#================================================= #=================================================
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" # 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 # STANDARD RESTORATION STEPS