Package: debconf
Version: 1.5.19
Severity: normal

When using cdebconf with the Client::ConfModule you cannot pass any arguments 
(like i.e. --frontend=gtk) to cdebconf/debconf because the parameters are 
mixed.

The attached patch fixes this issue.

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

Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
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 debconf depends on:
ii  debconf-i18n                  1.5.19     full internationalization support 
ii  perl-base                     5.8.8-12   The Pathologically Eclectic 
Rubbis

Versions of packages debconf recommends:
ii  apt-utils                     0.7.10     APT utility programs

-- debconf information:
  debconf-apt-progress/preparing:
  debconf-apt-progress/title:
  debconf-apt-progress/info:
  debconf-apt-progress/media-change:
  debconf/frontend: Dialog
  debconf/priority: high
--- /usr/share/perl5/Debconf/Client/ConfModule.pm	2008-01-30 02:23:44.000000000 +0100
+++ ConfModule.pm	2008-02-04 08:40:18.000000000 +0100
@@ -73,7 +73,7 @@
 		$ENV{PERL_DL_NONLAZY}=1;
 		if (exists $ENV{DEBCONF_USE_CDEBCONF} and
 		    $ENV{DEBCONF_USE_CDEBCONF} ne '') {
-			exec "/usr/lib/cdebconf/debconf", $0, @ARGV;
+			exec "/usr/lib/cdebconf/debconf", @ARGV, $0;
 		} else {
 			exec "/usr/share/debconf/frontend", $0, @ARGV;
 		}

Reply via email to