* Add new nb and nn translations from Petter Reinholdts...
[ntk/apt.git] / debian / bugscript
CommitLineData
d9a38191
AL
1#!/bin/sh -e
2
3# reportbug #169495
4if [ -z "$YESNO" ]; then
5 YESNO=$"yYnN"
6fi
7
8cat <<EOF
9I can automatically include various information about your apt configuration in
10your bug report. This information may help to diagnose your problem.
11
12EOF
13
14yesno "May I include your apt configuration (/etc/apt/apt.conf)? [Y/n] " yep
15
16if [ "$REPLY" = "yep" ]; then
17 echo -e "\n-- apt-config dump --\n" >&3
18 apt-config dump >&3 2>&1
19fi
20
21if [ -f /etc/apt/preferences ]; then
22 yesno "May I include your apt preferences (/etc/apt/preferences)? [Y/n] " yep
23
24 if [ "$REPLY" = "yep" ]; then
25 echo -e "\n-- /etc/apt/preferences --\n" >&3
26 cat /etc/apt/preferences >&3
27 fi
28fi
29
30if [ -f /etc/apt/sources.list ]; then
31 yesno "May I include your sources.list (/etc/apt/sources.list)? [Y/n] " yep
32
33 if [ "$REPLY" = "yep" ]; then
fc0aaa5e 34 echo -e "\n-- /etc/apt/sources.list --\n" >&3
d9a38191
AL
35 cat /etc/apt/sources.list >&3
36 fi
37fi