~ubuntu-branches/ubuntu/natty/apache2/natty-security

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
set -e

if [ "$1" != "configure" ]; then
        exit 0
fi

P=apache2-dbg
if dpkg --compare-versions "$2" lt 2.2.11-5~ ; then
	DOCDIR=/usr/share/doc/$P
	if [ ! -h $DOCDIR -a -d $DOCDIR ] ; then
		rmdir $DOCDIR 2> /dev/null && ln -s apache2.2-bin $DOCDIR
	fi
fi

#DEBHELPER#

exit 0