Package: discover
Version: 2.1.2-2
Severity: normal

        # Check if this package is supported by module-assistant
        if module-assistant --text-mode --non-inter list $pkg |
            grep -q 'package not installed' ; then

This test assumes that module-assistant is installed, but it won't be on 
most systems. Here are three ideas to fix this:

* Make discover depend on module-assistant. Worst choice IMHO.
* Have discover-data list module-assistant along with the *-source packages
  that need it. Seems nice and clean to me.
* Use a heuristic, such as checking if $pkg matches "*-source", and
  if so install module-assistant then. Seems second best, as this heuristic
  may not always work.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages discover depends on:
ii  debconf [debconf-2.0]         1.5.19     Debian configuration management sy
ii  libdiscover2                  2.1.2-2    hardware identification library

discover recommends no packages.

-- debconf information excluded

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to