generated from smedev/Template-for-SMEServer-Core-Package
* 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]
This commit is contained in:
@@ -257,6 +257,8 @@ class SMEServer(dnf.Plugin):
|
||||
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
|
||||
#only for debug
|
||||
@@ -415,13 +417,16 @@ class SMEServer(dnf.Plugin):
|
||||
|
||||
# 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 :
|
||||
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"
|
||||
self.log(" ==> panel v2 detected : adding locale2-conf")
|
||||
actionlist['S80locales2-conf']="/etc/e-smith/events/actions/locales2-conf"
|
||||
|
||||
# end of for installed list
|
||||
|
||||
#only for debug
|
||||
@@ -513,5 +518,4 @@ class SMEServer(dnf.Plugin):
|
||||
print("signal-event post-upgrade; signal-event reboot")
|
||||
print("You should run these commands unless you are certain that")
|
||||
print("dnf made no changes to your system.\n")
|
||||
print("==============================================================")
|
||||
|
||||
print("==============================================================")
|
Reference in New Issue
Block a user