mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update install
This commit is contained in:
parent
3c90ddbbff
commit
8ebe059f98
1 changed files with 2 additions and 1 deletions
|
@ -93,7 +93,8 @@ ynh_app_setting_set "$app" language "$language"
|
||||||
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
||||||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||||
ynh_script_progression --message="Remove Zabbix if already installed" -w 1
|
ynh_script_progression --message="Remove Zabbix if already installed" -w 1
|
||||||
ps -p "$(lsof /var/lib/dpkg/lock-frontend | tail -1 | awk '{print $2}')"
|
lsof /var/lib/dpkg/lock-frontend | tail -1 | awk '{print $2}'
|
||||||
|
ps aux
|
||||||
apt-get purge zabbix* -y
|
apt-get purge zabbix* -y
|
||||||
if compgen -G "/var/cache/apt/archives/zabbix-server-mysql*" > /dev/null; then
|
if compgen -G "/var/cache/apt/archives/zabbix-server-mysql*" > /dev/null; then
|
||||||
ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*
|
ynh_secure_remove /var/cache/apt/archives/zabbix-server-mysql*
|
||||||
|
|
Loading…
Add table
Reference in a new issue