From 76cbff6530dd16a4794c0beb27981f17d9ac7b08 Mon Sep 17 00:00:00 2001 From: Michael Banck Date: Thu, 13 Apr 2006 09:18:49 +0000 Subject: Check for [ ! -h rather than [ ! -e, which does not recognize broken symlinks --- debian/hurd.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/hurd.postinst b/debian/hurd.postinst index 2e7ff488..86d7c9d1 100644 --- a/debian/hurd.postinst +++ b/debian/hurd.postinst @@ -17,10 +17,10 @@ for i in vcs tty1 tty2 tty3 tty4 tty5 tty6; do fi done -if [ ! -e /dev/mouse ]; then +if [ ! -h /dev/mouse ]; then ln -s /dev/cons/mouse /dev/mouse fi -if [ ! -e /dev/kbd ]; then +if [ ! -h /dev/kbd ]; then ln -s /dev/cons/kbd /dev/kbd fi -- cgit v1.2.3