Bug#438098: xdm: Useless calls of laptop-detect in maintainer scripts
Package: xdm
Version: 1:1.1.4-3
Severity: minor
The xdm maintainer scripts all contain superfluous calls of
laptop-detect in the following snippet:
,----
| LAPTOP=""
| if [ -n "$(which laptop-detect)" ]; then
| if laptop-detect >/dev/null; then
| LAPTOP=true
| fi
| fi
`----
The LAPTOP variable is not used anywhere, but the laptop-detect call
can lead to confusing error messages, I just reported that in bug #438093.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.22.2
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xdm depends on:
ii cpp 4:4.1.2-3 The GNU C preprocessor (cpp)
ii debconf [debconf-2.0] 1.5.14 Debian configuration management sy
ii libc6 2.6.1-1 GNU C Library: Shared libraries
ii libice6 2:1.0.3-3 X11 Inter-Client Exchange library
ii libpam0g 0.79-4 Pluggable Authentication Modules l
ii libselinux1 2.0.15-2+b1 SELinux shared libraries
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxau6 1:1.0.3-2 X11 authorisation library
ii libxaw7 1:1.0.3-3 X11 Athena Widget library
ii libxdmcp6 1:1.0.2-2 X11 Display Manager Control Protoc
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxinerama1 1:1.0.2-1 X11 Xinerama extension library
ii libxmu6 1:1.0.3-1 X11 miscellaneous utility library
ii libxpm4 1:3.5.6-3 X11 pixmap library
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
ii x11-common 1:7.2-5 X Window System (X.Org) infrastruc
ii xbase-clients 1:7.2.ds2-2 miscellaneous X clients
xdm recommends no packages.
-- debconf information:
* shared/default-x-display-manager: xdm
xdm/stop_running_server_with_children: true
xdm/daemon_name: /usr/bin/X11/xdm
Reply to: