mirror of
https://github.com/YunoHost-Apps/grafana_ynh.git
synced 2024-09-03 20:36:29 +02:00
cleaning
This commit is contained in:
parent
53e299afbd
commit
bd5585188a
2 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue