From 8e29af1670c27e91ff9846f7c677b8e1e943e94a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Pialasse Date: Fri, 3 Oct 2025 09:17:09 -0400 Subject: [PATCH] * Thu Oct 02 2025 Jean-Philippe Pialasse 11.0.0-30.sme - run route and navigation scripts for smanager if panel present [SME: 13178] --- .../usr/lib/python3.6/site-packages/dnf-plugins/smeserver.py | 5 +++++ smeserver-update.spec | 4 ++-- 2 files changed, 7 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 49ea3fc..09f5f17 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 @@ -417,6 +417,11 @@ class SMEServer(dnf.Plugin): if "/etc/e-smith/web/panels/manager/cgi-bin" in tsmem.files : self.log(" ==> pannel 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 installed list #only for debug diff --git a/smeserver-update.spec b/smeserver-update.spec index d763ea4..f71e62f 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 29 +%define release 30 Version: %{version} Release: %{release}%{?dist} License: GPL @@ -70,7 +70,7 @@ mkdir -p root/etc/yum.smerepos.d %changelog -* Thu Oct 02 2025 Jean-Philippe Pialasse 11.0.0-29.sme +* Thu Oct 02 2025 Jean-Philippe Pialasse 11.0.0-30.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