summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/hurd.postinst4
1 files 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