Преглед изворни кода

change args for ynh_install_extra_repo

Mickael-Martin пре 6 година
родитељ
комит
4ab488d3fd
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      scripts/install

+ 1 - 1
scripts/install

@@ -97,7 +97,7 @@ ynh_app_setting_set "$app" language "$language"
 ###		- As well as the section "REINSTALL DEPENDENCIES" in the restore script
 ###		- And the section "UPGRADE DEPENDENCIES" in the upgrade script
 ynh_print_info "Install Zabbix repository"
-ynh_install_extra_repo --repo="http://repo.zabbix.com/zabbix/4.0/debian" --key="https://repo.zabbix.com/zabbix/4.0/debian/dists/stretch/Release.gpg"
+ynh_install_extra_repo --repo="http://repo.zabbix.com/zabbix/4.0/debian $(lsb_release -sc) main" --key="https://repo.zabbix.com/zabbix/4.0/debian/dists/stretch/Release.gpg"
 
 ynh_print_info "Update and install dependencies"
 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