1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/grafana_ynh.git synced 2024-09-03 20:36:29 +02:00
This commit is contained in:
Éric Gaspar 2023-10-24 23:19:13 +02:00
parent 53e299afbd
commit bd5585188a
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
# CHECK IF THE APP CAN BE RESTORED # 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" \ test ! -d "/etc/influxdb" \
|| ynh_die --message="InfluxDB / Grafana are already installed" || ynh_die --message="InfluxDB / Grafana are already installed"

View file

@ -18,7 +18,7 @@ upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # 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" # Workaround for missing "/var/lib/grafana/plugins"
mkdir -p "/var/lib/grafana/plugins" mkdir -p "/var/lib/grafana/plugins"