wok diff xvkbd/receipt @ rev 9190

Add: pinentry/pinentry-gtk 0.8.1
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 09 18:20:37 2011 +0100 (2011-03-09)
parents 1c83aa8ebdfb
children cae2be2e4809
line diff
     1.1 --- a/xvkbd/receipt	Sun May 16 16:52:07 2010 +0000
     1.2 +++ b/xvkbd/receipt	Wed Mar 09 18:20:37 2011 +0100
     1.3 @@ -40,10 +40,18 @@
     1.4  post_install()
     1.5  { 
     1.6  	# .Xdefaults file
     1.7 -	cat >> /home/tux/.Xdefaults << EOT
     1.8 +	lang=$(echo $LANG | awk '{FS="_"} {print $1}')
     1.9 +	find /home -maxdepth 2 -name ".Xdefaults" > /tmp/listeXdefaults
    1.10 +	while read line
    1.11 +	do
    1.12 +	if ! grep -q "Xvkbd settings" $line; then
    1.13 +	cat >> $line << EOT
    1.14  
    1.15  ! Xvkbd settings
    1.16  !
    1.17  xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
    1.18  EOT
    1.19 +echo "xvkbd.Layout : $lang" >> $line	
    1.20 +	fi
    1.21 +	done </tmp/listeXdefaults
    1.22  }