Procházet zdrojové kódy

Upgrade to 5.0~ynh1

yalh76 před 4 roky
rodič
revize
354258a138
6 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 1 1
      README.md
  2. 1 1
      README_fr.md
  3. 1 1
      manifest.json
  4. 1 0
      scripts/_common.sh
  5. 0 1
      scripts/install
  6. 1 1
      scripts/upgrade

+ 1 - 1
README.md

@@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
 
 A monitoring tool for diverse IT components, including networks, servers, VMs and cloud services.
 
-**Shipped version:** 4.4~ynh3
+**Shipped version:** 5.0~ynh1
 
 
 

+ 1 - 1
README_fr.md

@@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
 
 A monitoring tool for diverse IT components, including networks, servers, VMs and cloud services.
 
-**Version incluse :** 4.4~ynh3
+**Version incluse :** 5.0~ynh1
 
 
 

+ 1 - 1
manifest.json

@@ -6,7 +6,7 @@
         "en": "Monitoring tool for diverse IT components, including networks, servers, VMs and cloud services",
         "fr": "Outil pour monitorer des réseaux, des serveurs, des VMs et autres services en ligne"
     },
-    "version": "4.4~ynh3",
+    "version": "5.0~ynh1",
     "url": "https://www.zabbix.com",
     "upstream": {
         "license": "GPL-2.0-or-later",

+ 1 - 0
scripts/_common.sh

@@ -111,6 +111,7 @@ import_template () {
 
 	cp "$confUserPpath" /etc/zabbix/zabbix_agentd.d/userP_yunohost.conf
 	cp "$bashUserPpath" /etc/zabbix/zabbix_agentd.d/yunohost.sh
+	chown -R $app:$app "/etc/zabbix/zabbix_agentd.d/"
 	chmod a+x /etc/zabbix/zabbix_agentd.d/yunohost.sh
 
 	systemctl restart zabbix-agent

+ 0 - 1
scripts/install

@@ -63,7 +63,6 @@ ynh_script_progression --message="Installing dependencies..."
 
 install_zabbix_repo
 ynh_exec_warn_less ynh_install_app_dependencies $pkg_dependencies
-dpkg -i --force-confmiss /var/cache/apt/archives/zabbix-server-mysql*
 
 ynh_replace_string --match_string="# $language.UTF-8 UTF-8" --replace_string="$language.UTF-8 UTF-8" --target_file=/etc/locale.gen
 locale-gen

+ 1 - 1
scripts/upgrade

@@ -24,7 +24,7 @@ db_user=$(ynh_app_setting_get --app=$app --key=db_user)
 db_pwd=$(ynh_app_setting_get --app=$app --key=mysqlpwd)
 language=$(ynh_app_setting_get --app=$app --key=language)
 
-trustedversion="4.4-1+stretch"
+trustedversion="5.0-1+stretch"
 is_public=$(ynh_permission_has_user --permission=main --user=visitors && echo 1 || echo 0)
 
 #=================================================