Felix Delattre pushed to branch master at Debian GIS Project / libapache2-mod-tile
Commits: 6d5a79a3 by Felix Delattre at 2020-09-03T13:06:05+00:00 Make sure mod_tile is enabled on install of dependend packages. - - - - - 3 changed files: - debian/control - debian/libapache2-mod-tile.postinst - − debian/renderd.preinst Changes: ===================================== debian/control ===================================== @@ -63,7 +63,8 @@ Description: Daemon that renders map tiles using mapnik Package: renderd-example-map Architecture: all Section: web -Depends: libjs-leaflet, +Depends: libapache2-mod-tile, + libjs-leaflet, renderd, ${shlibs:Depends}, ${misc:Depends}, ===================================== debian/libapache2-mod-tile.postinst ===================================== @@ -2,9 +2,9 @@ set -e -if [ "$1" = configure ] ; then +if [ "$1" = install ] ; then - # only enable on new installs, not on upgrades + # enable mod_tile (only enable on new installs, not on upgrades) if [ -z "$2" ] ; then if [ ! -f /etc/apache2/mods-enabled/tile.load ] ; then if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then ===================================== debian/renderd.preinst deleted ===================================== @@ -1,18 +0,0 @@ -#!/bin/sh - -set -e - -if [ "$1" = configure ] ; then - - # only enable on new installs, not on upgrades - if [ -z "$2" ] ; then - if [ ! -f /etc/apache2/mods-enabled/tile.load ] ; then - if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then - . /usr/share/apache2/apache2-maintscript-helper - apache2_invoke enmod tile - fi - fi - fi -fi - -#DEBHELPER# View it on GitLab: https://salsa.debian.org/debian-gis-team/libapache2-mod-tile/-/commit/6d5a79a3ac281bcbb975eb4962f505ecdb1a71a9 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/libapache2-mod-tile/-/commit/6d5a79a3ac281bcbb975eb4962f505ecdb1a71a9 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel