Compare commits

..

3 Commits

Author SHA1 Message Date
27485c3952 * Mon Oct 06 2025 Brian Read <brianr@koozali.org> 11.0.0-31.sme
- Add in locale2-conf to SM2 panel detected code [SME: 13178]
2025-10-06 18:33:45 +01:00
8e29af1670 * 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]
2025-10-03 09:17:09 -04:00
37f6399569 * Thu Oct 02 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-29.sme
- run route and navigation scripts for smanager if panel present [SME: 13178]
2025-10-02 09:49:51 -04:00
2 changed files with 25 additions and 5 deletions

View File

@@ -250,8 +250,15 @@ class SMEServer(dnf.Plugin):
#end of if smeserver-*-update event exist #end of if smeserver-*-update event exist
# do we need this for removal ? # do we need this for removal ?
if "/etc/e-smith/web/panels/manager/cgi-bin" in tsmem.files : 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" 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"
self.log(" ==> panel v2 detected : adding locale2-conf")
actionlist['S80locales2-conf']="/etc/e-smith/events/actions/locales2-conf"
#end of for list of packages #end of for list of packages
#only for debug #only for debug
@@ -410,8 +417,16 @@ class SMEServer(dnf.Plugin):
# as long as it is a sme pkg we need to rebuild panel # as long as it is a sme pkg we need to rebuild panel
if "/etc/e-smith/web/panels/manager/cgi-bin" in tsmem.files : 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" 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"
self.log(" ==> panel v2 detected : adding locale2-conf")
actionlist['S80locales2-conf']="/etc/e-smith/events/actions/locales2-conf"
# end of for installed list # end of for installed list
#only for debug #only for debug
@@ -503,5 +518,4 @@ class SMEServer(dnf.Plugin):
print("signal-event post-upgrade; signal-event reboot") print("signal-event post-upgrade; signal-event reboot")
print("You should run these commands unless you are certain that") print("You should run these commands unless you are certain that")
print("dnf made no changes to your system.\n") print("dnf made no changes to your system.\n")
print("==============================================================") print("==============================================================")

View File

@@ -2,7 +2,7 @@
Summary: Koozali SME Server rpm updater Summary: Koozali SME Server rpm updater
Name: %{name} Name: %{name}
%define version 11.0.0 %define version 11.0.0
%define release 28 %define release 31
Version: %{version} Version: %{version}
Release: %{release}%{?dist} Release: %{release}%{?dist}
License: GPL License: GPL
@@ -70,6 +70,12 @@ mkdir -p root/etc/yum.smerepos.d
%changelog %changelog
* Mon Oct 06 2025 Brian Read <brianr@koozali.org> 11.0.0-31.sme
- Add in locale2-conf to SM2 panel detected code [SME: 13178]
* 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]
* Thu Sep 11 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-28.sme * Thu Sep 11 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-28.sme
- add rabbitmq signing keys [SME: 13140] - add rabbitmq signing keys [SME: 13140]