Bug#378696: kpilot: postinst script should check if device is there, before using chmod
Package: kpilot
Version: 4:3.5.3-3
Severity: minor
Hi,
the postinst script should check if the device is really there,
before using chmod, because i get an error on every upgrade. I've got a usb connector for my palm and i'm using
udev, so the device is only available if i'm pressing the hotsync
button.
A simple test -c should be enough i think.
This is just something for the air, not very important.
Regards,
Matthias
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-25.06.2006
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages kpilot depends on:
ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy
ii kdelibs4c2a 4:3.5.3-1 core libraries and binaries for al
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libgcc1 1:4.1.1-9 GCC support library
ii libkcal2b 4:3.5.3-3 KDE calendaring library
ii libmal1 0.40-5 A library of the functions in mals
ii libpisock8 0.11.8-24 Library for communicating with a P
ii libqt3-mt 3:3.3.6-2 Qt GUI Library (Threaded runtime v
ii libstdc++6 4.1.1-9 The GNU Standard C++ Library v3
kpilot recommends no packages.
-- debconf information:
* shared/pilot/port: ttyUSB0
Reply to: