Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwlive.git;a=commitdiff;h=8464227970e5156b6bb39c784fb6b6346acfb44c

commit 8464227970e5156b6bb39c784fb6b6346acfb44c
Author: James Buren <[email protected]>
Date:   Fri Mar 1 08:27:42 2013 -0600

use systemd localectl to find list of locales

diff --git a/new/fwsetup/locale.c b/new/fwsetup/locale.c
index 60b660d..717ebfb 100644
--- a/new/fwsetup/locale.c
+++ b/new/fwsetup/locale.c
@@ -27,7 +27,7 @@ static bool locale_setup(void)
size_t size = 512;
char line[LINE_MAX] = {0};

-  strfcpy(command,sizeof(command),"locale --all-locales | grep '\\.utf8$' | 
sort --unique");
+  strfcpy(command,sizeof(command),"localectl list-locales | grep '\\.utf8$'");

if((pipe = popen(command,"r")) == 0)
{
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to