* Wed Oct 08 2025 Brian Read <brianr@koozali.org> 1.4-9.sme
- Add in smeserver-updates-update event to creatlinks [SME: 12780 ] - Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12780]
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,4 +1,4 @@
|
|||||||
*.rpm
|
*.rpm
|
||||||
*.log
|
*.log
|
||||||
*spec-20*
|
*spec-20*
|
||||||
*.tar.gz
|
*.tar.xz
|
||||||
|
17
createlinks
17
createlinks
@@ -6,5 +6,20 @@ use File::Path;
|
|||||||
|
|
||||||
panel_link("update-system", "manager");
|
panel_link("update-system", "manager");
|
||||||
|
|
||||||
event_link("update-system", "update-system", "10");
|
# our event specific for updating with yum without reboot
|
||||||
|
$event = "smeserver-updates-update";
|
||||||
|
#add here the path to your templates needed to expand
|
||||||
|
#see the /etc/systemd/system-preset/49-koozali.preset should be present for systemd integration on all you yum update event
|
||||||
|
|
||||||
|
foreach my $file (qw(
|
||||||
|
/etc/systemd/system-preset/49-koozali.preset
|
||||||
|
))
|
||||||
|
{
|
||||||
|
templates2events( $file, $event );
|
||||||
|
}
|
||||||
|
|
||||||
|
#action needed in case we have a systemd unit
|
||||||
|
event_link("systemd-default", $event, "10");
|
||||||
|
event_link("systemd-reload", $event, "50");
|
||||||
|
|
||||||
|
event_link("update-system", "update-system", "10");
|
@@ -133,7 +133,7 @@ sub showInitial ($$)
|
|||||||
|
|
||||||
print $q->hidden (-name => 'state', -override => 1, -default => 'perform');
|
print $q->hidden (-name => 'state', -override => 1, -default => 'perform');
|
||||||
|
|
||||||
print $q->end_form;
|
print $q->end_form; #Updated here
|
||||||
esmith::cgi::genFooter ($q);
|
esmith::cgi::genFooter ($q);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -6,7 +6,7 @@ Summary: Update system panel for SMEserver ç
|
|||||||
%define name smeserver-updates
|
%define name smeserver-updates
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 1.4
|
%define version 1.4
|
||||||
%define release 8
|
%define release 9
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
@@ -23,8 +23,9 @@ Update system panel for sme server 9
|
|||||||
permitting the uploading and installing of .rpms
|
permitting the uploading and installing of .rpms
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 07 2025 Brian Read <brianr@koozali.org> 1.4-8.sme
|
* Wed Oct 08 2025 Brian Read <brianr@koozali.org> 1.4-9.sme
|
||||||
- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12775-87]
|
- Add in smeserver-updates-update event to creatlinks [SME: 12780 ]
|
||||||
|
- Apply change from startform to start_form and endform to end_form to CGI panels [SME: 12780]
|
||||||
|
|
||||||
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 1.4-5.sme
|
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 1.4-5.sme
|
||||||
- Fix e-smith references in smeserver-updates [SME: 12732]
|
- Fix e-smith references in smeserver-updates [SME: 12732]
|
||||||
|
Reference in New Issue
Block a user