debian/libapache2-mod-tile.postinst
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | set -e |
| 4 | |
| 5 | if [ "$1" = install ] ; then |
| 6 | |
| 7 | # enable mod_tile (only enable on new installs, not on upgrades) |
| 8 | if [ -z "$2" ] ; then |
| 9 | if [ ! -f /etc/apache2/mods-enabled/tile.load ] ; then |
| 10 | if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then |
| 11 | . /usr/share/apache2/apache2-maintscript-helper |
| 12 | apache2_invoke enmod tile |
| 13 | fi |
| 14 | fi |
| 15 | fi |
| 16 | fi |
| 17 | |
| 18 | #DEBHELPER# |