Package: console-common
Version: 0.7.50
Tags: patch

When upgrading to this version while having _POSIX2_VERSION=200112 in
the environment, this happens:

Looking for keymap to install:
NONE
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.

Patch follows:

diff -ru console-common-0.7.50.orig/install-keymap 
console-common-0.7.50/install-keymap
--- console-common-0.7.50.orig/install-keymap   2005-02-14 14:45:45.000000000 
+0100
+++ console-common-0.7.50/install-keymap        2005-02-21 13:19:23.000000000 
+0100
@@ -31,7 +31,7 @@
 fi
 if [ "$1" = "--version" ]
 then
-   VERSION=`dpkg -l console-common | tail -1 | awk '{print $3}' `
+   VERSION=`dpkg -l console-common | tail -n 1 | awk '{print $3}' `
    #  This string can not be localized, and it is not worth trying to
    echo "install-keymap: (console-common) " $VERSION
    exit 0

Thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to