Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=fvbe.git;a=commitdiff;h=a658a2ac148c2535daf27e503d9934ab1be77a87
commit a658a2ac148c2535daf27e503d9934ab1be77a87 Author: James Buren <[email protected]> Date: Sun Oct 20 05:30:52 2013 -0500 kbconfig: check if setxkbmap exists before trying to run setxkbmap diff --git a/src/kbconfig.c b/src/kbconfig.c index f7da09d..f5b8e97 100644 --- a/src/kbconfig.c +++ b/src/kbconfig.c @@ -208,7 +208,7 @@ static bool kbconfig_update(const struct layout *layout) if(!execute(command,g->hostroot,0)) return false; - if(inx11()) + if(inx11() && ispathpresent("/usr/bin/setxkbmap",S_IFREG,0755)) { strfcpy(command,sizeof(command),"setxkbmap -option ''"); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
