Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2c2a424284a127181c9fd48a841089ad6985e8d8

commit 2c2a424284a127181c9fd48a841089ad6985e8d8
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Aug 16 23:46:55 2010 +0000

xorg-server-1.8.2-12-i686
*fixes us layout keyboard by default

diff --git a/source/x11/xorg-server/FrugalBuild 
b/source/x11/xorg-server/FrugalBuild
index 6dbb752..37d950d 100644
--- a/source/x11/xorg-server/FrugalBuild
+++ b/source/x11/xorg-server/FrugalBuild
@@ -10,7 +10,7 @@ USE_MULTIBUFFER=${USE_MULTIBUFFER:-"n"}

pkgname=xorg-server
pkgver=1.8.2
-pkgrel=11
+pkgrel=12
pkgdesc="Modular X.Org X Server"
groups=('x11' 'xorg-core')
archs=('i686' 'x86_64' 'ppc')
diff --git a/source/x11/xorg-server/xorg-server.install 
b/source/x11/xorg-server/xorg-server.install
index 884e26b..a0069ff 100644
--- a/source/x11/xorg-server/xorg-server.install
+++ b/source/x11/xorg-server/xorg-server.install
@@ -15,8 +15,11 @@ function UpdateConf

post_install()
{
-       # setting the layout from the tty console layout created by the 
installer
-       layout=`awk -F'=' '/keymap=/ {print $2}' /etc/sysconfig/keymap | sed 
's|-.*||g'`
+       layout="us"
+       if [ -e /etc/sysconfig/keymap ]; then
+               # setting the layout from the tty console layout created by the 
installer
+               layout=`awk -F'=' '/keymap=/ {print $2}' /etc/sysconfig/keymap 
| sed 's|-.*||g'`
+       fi
echo "Update layout keyboard with $layout"
sed -i "/xkb_layout/s/Keyboard_Layout/$layout/" 
/etc/X11/xorg.conf.d/10-evdev.conf
#setting graphical device
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to