[Frugalware-darcs] frugalware-current: kbd-1.12-12-i686

BMH1980 bmh1980de at yahoo.de
Mon Oct 31 20:48:37 CET 2005


Mon Oct 31 19:40:41 CET 2005  BMH1980 <bmh1980de at yahoo.de>
  * kbd-1.12-12-i686
  Fixing /etc/sysconfig/keymap (doesn't have to be in any pkg)
diff -rN -u old-frugalware-current/source/base/kbd/FrugalBuild new-frugalware-current-1/source/base/kbd/FrugalBuild
--- old-frugalware-current/source/base/kbd/FrugalBuild	2005-10-31 20:47:53.000000000 +0100
+++ new-frugalware-current-1/source/base/kbd/FrugalBuild	2005-10-31 19:50:27.000000000 +0100
@@ -1,25 +1,24 @@
-# Last Modified: Sun, 30 Oct 2005 15:24:56 +0100
+# Last Modified: Mon, 31 Oct 2005 19:28:38 +0100
 # Compiling Time: 0.05 SBU
 # Maintainer: VMiklos <vmiklos at frugalware.org>
 
 pkgname=kbd
 pkgver=1.12
-pkgrel=11
+pkgrel=12
 pkgdesc="Keyboard maps and console fonts"
 up2date="lynx -dump 'http://www.ibiblio.org/pub/Linux/system/keyboards/?M=D'|grep kbd.*tar.gz$|sed -n 's/.*d-\(.*\)\.t.*/\1/;1 p'"
 depends=('sed' 'bash' 'glibc' 'bootsplash')
 groups=('base')
 archs=('i686' 'x86_64')
-backup=(etc/sysconfig/{font,keymap})
+backup=(etc/sysconfig/font)
 install=$pkgname.install
 source=(ftp://ftp.win.tue.nl/pub/linux-local/utils/$pkgname/$pkgname-$pkgver.tar.gz \
-        fontconfig rc.font rc.keymap font keymap)
+        fontconfig rc.font rc.keymap font)
 sha1sums=('d4917da308e01e74d67d7b814bf527063b3919fc' \
           '45e7873f885568afc79ddc3bb76043f6b6f70d2e' \
           '6cc2260c08c916cf8d8f189f2f490f93d1e43baf' \
           'ffb715102c5c0ce95f656bf3653b915c6fb09c0b' \
-          '84e361527f415ef4d560b3e6affea0d463d544de' \
-          'baf65f475c098155cf457be59e95648d2975e55c')
+          '84e361527f415ef4d560b3e6affea0d463d544de')
 
 build()
 {
@@ -45,7 +44,6 @@
 	chmod 755 $Fdestdir/usr/sbin/fontconfig
 	# config
 	Ffile /etc/sysconfig/font
-	Ffile /etc/sysconfig/keymap
 }
 
 # vim: ft=sh
diff -rN -u old-frugalware-current/source/base/kbd/kbd.install new-frugalware-current-1/source/base/kbd/kbd.install
--- old-frugalware-current/source/base/kbd/kbd.install	2005-10-31 20:47:53.000000000 +0100
+++ new-frugalware-current-1/source/base/kbd/kbd.install	2005-10-31 19:50:27.000000000 +0100
@@ -14,7 +14,15 @@
 # arg 2:  the old package version
 post_upgrade() {
 	post_install $1
-	/bin/true
+	if [ ! -f /etc/sysconfig/keymap ] ; then
+		echo -e '# /etc/sysconfig/keymap\n' > /etc/sysconfig/keymap
+		echo -n '# specifiy the keyboard map, ' >> /etc/sysconfig/keymap
+		echo -e 'maps are in /usr/share/kbd/keymaps\n' >> /etc/sysconfig/keymap
+		echo 'keymap=us' >> /etc/sysconfig/keymap
+		echo -e '\n**************************************************'
+		echo 'Please adjust your keymap in /etc/sysconfig/keymap'
+		echo -e '**************************************************\n'
+	fi
 }
 
 # arg 1:  the old package version



More information about the Frugalware-darcs mailing list