config is in mopidy 2.1.0-1.
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 | #!/bin/sh
# config script for mopidy
set -e
. /usr/share/debconf/confmodule
# If installing on a system where the package has previously been configured,
# check if the init script is active and set the debconf default accordingly.
if [ "$2" != "" ]; then
if update-rc.d -n -f mopidy remove 2>&1 | grep -q -e rc.\.d/S..mopidy; then
db_set mopidy/daemon true
else
db_set mopidy/daemon false
fi
fi
db_input medium mopidy/daemon || true
db_go || true
exit 0
|