]> git.donarmstrong.com Git - deb_pkgs/spamass-milter.git/blob - debian/reportbug
don't bother to rm/chmod/chown inet sockets
[deb_pkgs/spamass-milter.git] / debian / reportbug
1 #!/bin/sh -e
2
3 # Stolen from apt's reportbug scripts
4
5 # reportbug #169495
6 if [ -z "$YESNO" ]; then
7   YESNO=$"yYnN"
8 fi
9
10 cat <<EOF
11 I can automatically include various information about your
12 spamass-milter configuration in your bug report.  This information may
13 help to diagnose your problem.
14
15 If you have a segfault or similar to report, please see the debugging
16 information in /usr/share/doc/spamass-milter/README.Debian and
17 consider building a debugging version of spamass-milter so that your
18 problem can be diagnosed and fixed.
19
20 EOF
21
22 yesno "May I include your spamass-milter configuration (/etc/default/spamass-milter, /etc/init.d/spamass-milter and /etc/mail/sendmail.mc)? [Y/n] " yep
23
24 if [ "$REPLY" = "yep" ]; then
25   echo -e "\n-- /etc/default/spamass-milter --\n" >&3
26   cat /etc/default/spamass-milter >&3 || true
27   echo -e "\n-- /etc/init.d/spamass-milter --\n"
28   cat /etc/init.d/spamass-milter >&3 || true
29   echo -e "\n-- /etc/mail/sendmail.mc --\n"
30   cat /etc/mail/sendmail.mc >&3 || true
31 fi