mod_tile: automatically enable mod_tile in apache on first install of debian package

Brings postinst script in line with the template for apache modules on the debian wiki
This commit is contained in:
Kai Krueger
2011-07-16 23:35:12 +00:00
parent cd0b3c8efe
commit 16847267a5
2 changed files with 16 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/bin/sh
if [ "$1" = remove ] ; then
a2dismod -q -f tile || true
invoke-rc.d apache2 restart
fi
# automatically remove munin plugins
if [ -d /etc/munin/plugins ]
then