wok-6.x rev 10349

kbd-busybox: loadkmap workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 22 22:08:19 2011 +0200 (2011-05-22)
parents 85327bf85dbc
children 8093141fda66
files kbd-busybox/receipt
line diff
     1.1 --- a/kbd-busybox/receipt	Sun May 22 15:20:47 2011 +0000
     1.2 +++ b/kbd-busybox/receipt	Sun May 22 22:08:19 2011 +0200
     1.3 @@ -20,8 +20,9 @@
     1.4  		k=${k%.map.gz}
     1.5  		loadkeys /usr/share/kbd/keymaps/i386/$i && 
     1.6  		dumpkmap > _pkg/usr/share/kmap/$k.kmap
     1.7 +		dumpkmap | cmp current.kmap - > /dev/null && map=$i
     1.8  	done
     1.9 -	loadkmap < current.kmap
    1.10 +	loadkmap < current.kmap || loadkeys /usr/share/kbd/keymaps/i386/$map
    1.11  }
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.