wok-6.x diff xvkbd/receipt @ rev 8639
Up: slitaz-menus to 1.8. Added Education directory for menu. Also add applications-engineering and applications-science icons from gnome-icon-theme. Both 16 and 32 sizes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 03:49:26 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 03:49:26 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 }