2
# preinst script for horde3
9
CONFFILE=/etc/horde/horde3/registry.php
11
if dpkg --compare-versions "$2" lt "3.2.1+debian0-2"; then
12
if [ -e "$CONFFILE" ]; then
13
md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
14
old_md5sum="`dpkg-query -W -f='${Conffiles}' horde3 | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
15
if [ "$md5sum" = "$old_md5sum" ]; then
27
echo "postinst called with unknown argument \`$1'" >&2