mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
change package install to package install dependencies
This commit is contained in:
parent
c07324c30c
commit
1d0bb0c99d
1 changed files with 2 additions and 3 deletions
|
@ -148,7 +148,7 @@ then
|
|||
ynh_backup_before_upgrade
|
||||
ynh_clean_setup () {
|
||||
# restore it if the upgrade fails
|
||||
ynh_restore_upgradebackup
|
||||
ynh_restore_upgradebackup
|
||||
}
|
||||
# Exit if an error occurs during the execution of the script
|
||||
ynh_abort_if_errors
|
||||
|
@ -163,8 +163,7 @@ then
|
|||
|
||||
ynh_print_info "Update zabbix via apt package"
|
||||
ynh_package_update
|
||||
ynh_package_install zabbix-server-mysql zabbix-agent zabbix-frontend-php
|
||||
|
||||
ynh_install_app_dependencies libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 php7.0 php-bcmath php7.0-bcmath ttf-dejavu-core php7.0-bcmath patch smistrip unzip wget fping libcap2-bin libiksemel3 libopenipmi0 libpam-cap libsnmp-base libsnmp30 snmptrapd snmpd libjs-prototype jq zabbix-server-mysql zabbix-agent zabbix-frontend-php
|
||||
|
||||
rm /usr/share/zabbix/conf/zabbix.conf.php
|
||||
cp -rpf /tmp/zabbix /etc/
|
||||
|
|
Loading…
Add table
Reference in a new issue