From 37f6399569c303a9a64de84bd39b836b1de78598 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Thu, 2 Oct 2025 09:49:51 -0400 Subject: [PATCH] * Thu Oct 02 2025 Jean-Philippe Pialasse 11.0.0-29.sme - run route and navigation scripts for smanager if panel present [SME: 13178] --- .../lib/python3.6/site-packages/dnf-plugins/smeserver.py | 7 ++++++- smeserver-update.spec | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py b/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py index 2b14d68..49ea3fc 100644 --- a/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py +++ b/root/usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py @@ -250,8 +250,13 @@ class SMEServer(dnf.Plugin): #end of if smeserver-*-update event exist # do we need this for removal ? if "/etc/e-smith/web/panels/manager/cgi-bin" in tsmem.files : - self.log(" ==> pannel detected : adding navigation-conf") + self.log(" ==> panel detected : adding navigation-conf") actionlist['S80navigation-conf']="/etc/e-smith/events/actions/navigation-conf" + if "/usr/share/smanager/lib/SrvMngr" in tsmem.files : + self.log(" ==> panel v2 detected : adding navigation2-conf") + actionlist['S80navigation2-conf']="/etc/e-smith/events/actions/navigation2-conf" + self.log(" ==> panel v2 detected : adding routes2-conf") + actionlist['S80routes2-conf']="/etc/e-smith/events/actions/routes2-conf" #end of for list of packages #only for debug diff --git a/smeserver-update.spec b/smeserver-update.spec index 80bde25..d763ea4 100644 --- a/smeserver-update.spec +++ b/smeserver-update.spec @@ -2,7 +2,7 @@ Summary: Koozali SME Server rpm updater Name: %{name} %define version 11.0.0 -%define release 28 +%define release 29 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -70,6 +70,9 @@ mkdir -p root/etc/yum.smerepos.d %changelog +* Thu Oct 02 2025 Jean-Philippe Pialasse 11.0.0-29.sme +- run route and navigation scripts for smanager if panel present [SME: 13178] + * Thu Sep 11 2025 Jean-Philippe Pialasse 11.0.0-28.sme - add rabbitmq signing keys [SME: 13140]