/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-set_servername.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-set_servername.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Mon Mar 24 03:05:37 2014 UTC (10 years, 7 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Mar 23 2014 Ian Wells <esmith@wellsi.com> 5.6.0-1.sme
- Roll new stream to remove obsolete images [SME: 7962]

1 vip-ire 1.1 diff -Nur e-smith-base-5.4.0/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm e-smith-base-5.4.0_bz8030/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm
2     --- e-smith-base-5.4.0/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm 2013-12-15 01:30:54.703944618 +0100
3     +++ e-smith-base-5.4.0_bz8030/root/usr/share/perl5/vendor_perl/esmith/console/configure.pm 2013-12-15 01:35:07.201609871 +0100
4     @@ -257,9 +257,9 @@
5     my $rec = $hdb->get("$oldSystemName.$DomainName");
6     $rec->delete if $rec;
7    
8     - # Update ServerName if was oldSystemName
9     + # Update ServerName if was oldSystemName or not set
10     my $oldServerName = $db->get_prop("smb", "ServerName");
11     - if ($oldSystemName eq $oldServerName)
12     + if (!defined($oldServerName) || ($oldSystemName eq $oldServerName))
13     {
14     $db->set_prop("smb", "ServerName", $SystemName);
15     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed