[Git][debian-gis-team/libapache2-mod-tile][master] Fixed check for enabled mod_tile during installation.

Felix Delattre gitlab at salsa.debian.org
Wed Sep 2 17:02:10 BST 2020



Felix Delattre pushed to branch master at Debian GIS Project / libapache2-mod-tile


Commits:
084e7b7d by Felix Delattre at 2020-09-02T16:01:12+00:00
Fixed check for enabled mod_tile during installation.

- - - - -


3 changed files:

- debian/copyright
- debian/libapache2-mod-tile.postinst
- debian/renderd.preinst


Changes:

=====================================
debian/copyright
=====================================
@@ -662,4 +662,4 @@ License: ODbL
  applicable copyright law and Database Rights in the relevant
  jurisdiction includes additional rights not granted under this License,
  these additional rights are granted in this License in order to meet the
- terms of this License.
\ No newline at end of file
+ terms of this License.


=====================================
debian/libapache2-mod-tile.postinst
=====================================
@@ -6,7 +6,7 @@ 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 [ ! -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


=====================================
debian/renderd.preinst
=====================================
@@ -6,7 +6,7 @@ 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 [ ! -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



View it on GitLab: https://salsa.debian.org/debian-gis-team/libapache2-mod-tile/-/commit/084e7b7d7d88d7873708bea8ecacc20fd02b9e51

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/libapache2-mod-tile/-/commit/084e7b7d7d88d7873708bea8ecacc20fd02b9e51
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200902/76661e33/attachment-0001.html>


More information about the Pkg-grass-devel mailing list