* Thu Oct 02 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-30.sme

- run route and navigation scripts for smanager if panel present [SME: 13178]
This commit is contained in:
2025-10-03 09:17:09 -04:00
parent 37f6399569
commit 8e29af1670
2 changed files with 7 additions and 2 deletions

View File

@@ -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