From ab013d048226dd06e51af6c7cf34eaf8d11bea05 Mon Sep 17 00:00:00 2001 From: Julien Valroff Date: Wed, 6 Jan 2010 21:06:59 +0100 Subject: Minor fixes to config file --- debian/config | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/debian/config b/debian/config index 0e5107b..81a5977 100644 --- a/debian/config +++ b/debian/config @@ -1,13 +1,18 @@ -#!/bin/sh -e +#!/bin/sh + +set -e + . /usr/share/debconf/confmodule -if [ -f /etc/default/mailgraph ]; then +db_title "mailgraph" || true + +if [ -r /etc/default/mailgraph ]; then . /etc/default/mailgraph db_set mailgraph/start_on_boot "$BOOT_START" db_set mailgraph/mail_log "$MAIL_LOG" db_set mailgraph/ignore_localhost "$IGNORE_LOCALHOST" fi - + db_input medium mailgraph/start_on_boot || true db_go db_input medium mailgraph/mail_log || true -- cgit v1.2.3