diff options
Diffstat (limited to 'debian/preinst')
-rw-r--r-- | debian/preinst | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/debian/preinst b/debian/preinst index 0070083..729ecc5 100644 --- a/debian/preinst +++ b/debian/preinst @@ -12,13 +12,13 @@ set -e case "$1" in upgrade) if [ "$2" \< "1.13-1.1" ]; then - if [ -f /etc/default/mailgraph ]; then - . /usr/share/debconf/confmodule - . /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 + if [ -r /etc/default/mailgraph ]; then + . /usr/share/debconf/confmodule + . /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 fi ;; @@ -37,5 +37,3 @@ esac #DEBHELPER# exit 0 - - |