config is in metche 1:1.2.2-3.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
CONFIGFILE="/etc/metche.conf"
if [ -e "$CONFIGFILE" ]; then
. "$CONFIGFILE" || true
db_set metche/email "$EMAIL_ADDRESS"
db_set metche/changelog/type "No changelog monitoring"
if [ -n "$CHANGELOG_DIR" ]; then
db_set metche/changelog/type "Multiple changelog files"
db_set metche/changelog/directory "$CHANGELOG_DIR"
elif [ -n "$CHANGELOG_FILE" ]; then
db_set metche/changelog/type "Single changelog file"
db_set metche/changelog/file "$CHANGELOG_FILE"
fi
fi
db_input medium metche/email || true
db_input medium metche/changelog/type || true
db_go || true
db_get metche/changelog/type
case "$RET" in
"Single changelog file")
db_input medium metche/changelog/file || true
db_go || true
;;
"Multiple changelog files")
db_input medium metche/changelog/directory || true
db_go || true
;;
esac
|