Package: dbconfig-common
Version: 1.8.7
Severity: important
Tags: patch

Hi,

dbconfig-generate-include bails out when specifying -U (Use ucf to
handle the configuration file) I attached a patch that fixes this
problem.

Regards,

Matthijs Mohlmann

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages dbconfig-common depends on:
ii  debconf [debconf-2.0]         1.4.59     Debian configuration management sy
ii  pwgen                         2.04-1     Automatic Password generation
ii  ucf                           2.003      Update Configuration File: preserv

dbconfig-common recommends no packages.

-- debconf information excluded
--- dbconfig-generate-include.orig      2005-11-19 15:13:33.691699750 +0100
+++ dbconfig-generate-include   2005-11-19 15:13:57.277173750 +0100
@@ -121,6 +121,10 @@
                perms="$2"
                shift 2
        ;;      
+       -U|--ucf)
+               do_ucf=1
+               shift
+       ;;
        -h|--help)
                usage
                exit
@@ -129,10 +133,6 @@
                version
                exit
        ;;
-       -U|--ucf)
-               do_ucf=1
-               exit
-       ;;
        -o|--options)
        set -x
                eval $2

Reply via email to