Package: discover
Version: 2.1.1-2.1
Severity: important
Tags: patch

When trying to run discover-pkginstall in the current Etch
environment, it prints "discover: Bus not found." and exits.  I traced
this to a bug in the script.  This patch fixes the problem:

--- /sbin/discover-pkginstall   2007-02-21 14:07:17.000000000 +0100
+++ /tmp/discover-pkginstall    2007-04-07 09:43:07.000000000 +0200
@@ -96,7 +98,7 @@
 if [ -e /etc/debian_version ] ; then
     version="$(cat /etc/debian_version)"
     if [ testing/unstable != "$version" ] ; then
-        dataversion="-data-version=$(cat /etc/debian_version)"
+        dataversion="--data-version=$(cat /etc/debian_version)"
     fi
 fi

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages discover depends on:
ii  debconf [debconf-2.0]         1.5.11     Debian configuration management sy
ii  libdiscover2                  2.1.1-2.1  hardware identification library

discover recommends no packages.

-- debconf information:
  discover/install_hw_packages:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to