1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#! /bin/bash
# Reportbug custom content generator for ‘dput’ package.
# Documentation: ‘/usr/share/doc/reportbug/README.developers.gz’.
candidate_config_files=(
/etc/dput.cf
"$HOME"/.dput.cf
)
for config_file in "${candidate_config_files[@]}" ; do
printf "\n-- %s --\n" "$config_file" >&3
cat "$config_file" >&3
done
printf "\n-- Configuration parsed by ‘dput’ --\n"
dput --print >&3
# Local variables:
# coding: utf-8
# mode: shell-script
# End:
# vim: fileencoding=utf-8 filetype=sh :
|