kbd-util: allow kmap as a valid suffix
debian is using kmap suffix in console-data and kbd accepts this too.
This commit is contained in:
committed by
Luca Boccassi
parent
c549d00e9f
commit
0827be05dd
@@ -58,7 +58,7 @@ static int keymap_recurse_dir_callback(
|
||||
if (!IN_SET(de->d_type, DT_REG, DT_LNK))
|
||||
return RECURSE_DIR_CONTINUE;
|
||||
|
||||
const char *e = endswith(de->d_name, ".map") ?: endswith(de->d_name, ".map.gz");
|
||||
const char *e = ENDSWITH_SET(de->d_name, ".map", ".map.gz", ".kmap", ".kmap.gz");
|
||||
if (!e)
|
||||
return RECURSE_DIR_CONTINUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user