config is in gnome-speech-swift 1:0.4.25-5ubuntu2.
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 | #!/bin/sh
set -e
# Load Debconf
. /usr/share/debconf/confmodule
db_version 2.0
# Autodetect default for swift_dir question
for dir in /opt/swift /usr/local/swift /usr/local/share/swift /usr/share/swift; do
if [ -d "$dir" -a -d "$dir/include" -a -f "$dir/include/swift.h" -a -d "$dir/lib" ]; then
db_set gnome-speech-swift/swift_dir "$dir"
break
fi
done
db_input medium gnome-speech-swift/swift_dir || true
db_go
|