mirror of
https://github.com/openstreetmap/mod_tile.git
synced 2025-07-29 11:44:17 +00:00
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:
5
debian/libapache2-mod-tile.prerm
vendored
5
debian/libapache2-mod-tile.prerm
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user