[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256078: base-config: logic inverted in debconf-seed

Package: base-config
Version: 2.31
Severity: normal
Tages: patch

In the debconf-seed menu script, the logic to test for an invalid seed file
is reversed:
--- lib/menu/debconf-seed       2004-06-24 22:12:44.000000000 +0100
+++ ../../base-config-2.31.mcb/lib/menu/debconf-seed    2004-06-24
13:02:53.000000000 +0100
@@ -11,8 +11,8 @@
 for file in $SEEDDIR/*; do
 if debconf-set-selections -c $file ; then
-       echo "error: Unparsable debconf values in file '$file'."
-    else
        debconf-set-selections $file
+    else
+       echo "error: Unparsable debconf values in file '$file'."

In addition, the script is not executable.

Martin Orr
Linux Administrator,
Methodist College Belfast

Reply to: