Bug#386191: xserver-xorg: -latin1 is already stripped away

2006-09-07 Thread Christian Perrier
Quoting Tormod Volden ([EMAIL PROTECTED]):
 Package: xserver-xorg
 Version: 1:7.0.22
 Followup-For: Bug #386191
 
 Christian, -latin1 should already have been stripped off, so that sg 
 would match. The problem is that the stripping itself is broken, see 
 my patch.


Yeah. Sorry for overlooking. You're very probably right..:-)




signature.asc
Description: Digital signature


Bug#386191: xserver-xorg: -latin1 is already stripped away

2006-09-06 Thread Tormod Volden
Package: xserver-xorg
Version: 1:7.0.22
Followup-For: Bug #386191

Christian, -latin1 should already have been stripped off, so that sg 
would match. The problem is that the stripping itself is broken, see 
my patch.
--- xserver-xorg.config.orig2006-06-12 05:46:03.0 +0200
+++ xserver-xorg.config 2006-09-06 19:39:36.0 +0200
@@ -1765,7 +1765,7 @@
 
   db_get debian-installer/keymap || debug_report_status db_get 
debian-installer/keymap
   DI_KEYMAP=${RET##mac-usb-}
-  DI_KEYMAP=${DI_KEYMAP##-latin1}
+  DI_KEYMAP=${DI_KEYMAP%%-latin1}
 
   case $DI_KEYMAP in
 be2) XMAP=be;;