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

commit cdd8d5b169b1398c9b7e01324dbf0d67eb7e981b
Author: James Buren <[email protected]>
Date:   Fri Mar 1 08:59:17 2013 -0600

Revert "use systemd localectl to find list of locales"

This reverts commit 8464227970e5156b6bb39c784fb6b6346acfb44c.

diff --git a/new/fwsetup/locale.c b/new/fwsetup/locale.c
index 717ebfb..60b660d 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),"localectl list-locales | grep '\\.utf8$'");
+  strfcpy(command,sizeof(command),"locale --all-locales | grep '\\.utf8$' | 
sort --unique");

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

Reply via email to