config is in z-push-common 2.3.8-2ubuntu1.
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 | #!/bin/sh
set -e
. /usr/share/debconf/confmodule
db_version 2.0
# Find out which webservers we have.
webservers=
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
webservers="$webservers apache2"
fi
if which lighty-enable-mod >/dev/null 2>&1 ; then
webservers="$webservers lighttpd"
fi
if which nginx >/dev/null 2>&1 ; then
webservers="$webservers nginx"
fi
# If we have only one webserver, there is no need to ask which webserver
# must be configured to serve Z-push.
if [ "$(echo $webservers | wc -w)" -le 1 ]; then
exit 0
fi
db_input high z-push/reconfigure-webserver || true
db_go || true
|