[yast-commit] r62802 - /trunk/ntp-client/src/NtpClient.ycp
Author: varkoly Date: Wed Nov 10 15:09:35 2010 New Revision: 62802 URL: http://svn.opensuse.org/viewcvs/yast?rev=62802&view=rev Log: Convert gb to uk Modified: trunk/ntp-client/src/NtpClient.ycp Modified: trunk/ntp-client/src/NtpClient.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/ntp-client/src/NtpClient.ycp?rev=62802&r1=62801&r2=62802&view=diff ============================================================================== --- trunk/ntp-client/src/NtpClient.ycp (original) +++ trunk/ntp-client/src/NtpClient.ycp Wed Nov 10 15:09:35 2010 @@ -216,8 +216,14 @@ } map<string, string> MakePoolRecord (string CC, string location) { + string mycc = tolower(CC); + //There is no gb.pool.ntp.org only uk.pool.ntp.org + if ( mycc == "gb" ) + { + mycc="uk"; + } return $[ - "address" : tolower(CC) + ".pool.ntp.org", + "address" : mycc + ".pool.ntp.org", "country" : CC, "location": location, ]; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
varkoly@svn2.opensuse.org