wok-stable diff xvkbd/receipt @ rev 8648
Fixed wvstreams post_remove.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 19:36:35 2011 +0000 (2011-02-15) |
parents | 1c83aa8ebdfb |
children | cae2be2e4809 |
line diff
1.1 --- a/xvkbd/receipt Sun May 16 16:52:07 2010 +0000 1.2 +++ b/xvkbd/receipt Tue Feb 15 19:36:35 2011 +0000 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 }