]> git.deb.at Git - pkg/t-prot.git/blobdiff - debian/config
Imported Debian patch 0.54.1-1.woody1
[pkg/t-prot.git] / debian / config
diff --git a/debian/config b/debian/config
new file mode 100644 (file)
index 0000000..d118aca
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/sh -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+# Only do this if a Muttrc is present
+if [ -e /etc/Muttrc ]; then
+
+       # Add the source line to /etc/Muttrc?
+       db_input medium t-prot/muttrc_option || true
+       db_go
+
+       # Check the answer.
+       db_get t-prot/muttrc_option
+       if [ "$RET" = "true" ]; then
+               # Show note that it's enabled by default.
+               db_input high t-prot/muttrc_note || true
+               db_go
+       fi
+fi
+
+exit 0