diff options
| author | Michael Banck <mbanck@debian.org> | 2006-04-13 09:18:49 +0000 |
|---|---|---|
| committer | Michael Banck <mbanck@debian.org> | 2006-04-13 09:18:49 +0000 |
| commit | 76cbff6530dd16a4794c0beb27981f17d9ac7b08 (patch) | |
| tree | f0d15267c652b1f091c5ab3051e9e0282e63d391 | |
| parent | 0867adb93d007ee5d64681fc92eb0e4f248738fc (diff) | |
Check for [ ! -h rather than [ ! -e, which does not recognize broken symlinks
| -rw-r--r-- | debian/hurd.postinst | 4 |
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 |
