/usr/share/bug/dpkg-cross/script is in dpkg-cross 2.6.5ubuntu2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #!/bin/bash
set -e
if [ -z "$YESNO" ]; then
YESNO=$"yYnN"
fi
cat <<EOF
I can automatically include various information about your cross building
configuration and debug output in your bug report. This information may help
to diagnose your problem.
EOF
if [ -f "$HOME/.dpkg-cross/cross-compile" ]; then
yesno "May I include $HOME/.dpkg-cross/cross-compile ? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
echo >&3
echo "-- $HOME/.dpkg-cross/cross-compile --" >&3
echo >&3
cat $config >&3
else
echo >&3
echo "-- ( $HOME/.dpkg-cross/cross-compile present, but not submitted) --" >&3
echo >&3
fi
fi
yesno "May I include /etc/dpkg-cross/cross-compile ? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
echo >&3
echo "-- /etc/dpkg-cross/cross-compile --" >&3
echo >&3
cat /etc/dpkg-cross/cross-compile >&3
else
echo >&3
echo "-- (/etc/dpkg-cross/cross-compile not submitted) --" >&3
echo >&3
fi
|