* Wed Mar 05 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
- change key type from service to configuration [SME: 11367]
This commit is contained in:
parent
fde38516a6
commit
55dea32fc1
@ -1 +0,0 @@
|
|||||||
sme10
|
|
@ -1 +1 @@
|
|||||||
service
|
configuration
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
my $rec = $DB->get('statusreport')
|
my $rec = $DB->get('statusreport')
|
||||||
|| $DB->new_record('statusreport', { type => 'service' });
|
|| $DB->new_record('statusreport', { type => 'configuration' });
|
||||||
|
|
||||||
my %props = $rec->props;
|
my %props = $rec->props;
|
||||||
|
|
||||||
@ -8,4 +8,6 @@
|
|||||||
exists $props{Hour} or $props{Hour} = int(rand(24));
|
exists $props{Hour} or $props{Hour} = int(rand(24));
|
||||||
exists $props{Minute} or $props{Minute} = int(rand(60));
|
exists $props{Minute} or $props{Minute} = int(rand(60));
|
||||||
$rec->merge_props(%props);
|
$rec->merge_props(%props);
|
||||||
|
|
||||||
|
$DB->set_prop('statusreport', "type", "configuration") if ${'statusreport'}{type} eq "service";
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@ Summary: SME Server module to display support and licensing information
|
|||||||
%define name smeserver-support
|
%define name smeserver-support
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
%define version 11.0.0
|
%define version 11.0.0
|
||||||
%define release 5
|
%define release 6
|
||||||
|
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: %{release}%{?dist}
|
Release: %{release}%{?dist}
|
||||||
@ -88,6 +88,9 @@ Requires: mc
|
|||||||
Requires: psacct
|
Requires: psacct
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 05 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-6.sme
|
||||||
|
- change key type from service to configuration [SME: 11367]
|
||||||
|
|
||||||
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-5.sme
|
* Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-5.sme
|
||||||
- Set license file to GPL2.0 [SME: 12577]
|
- Set license file to GPL2.0 [SME: 12577]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user