[openstreetmap-carto] 01/01: Do not delete style.xml during upgrade, but only when removing the package.
Ruben Undheim
rubund-guest at moszumanska.debian.org
Mon Oct 12 21:42:31 UTC 2015
This is an automated email from the git hooks/post-receive script.
rubund-guest pushed a commit to branch master
in repository openstreetmap-carto.
commit 4bae5d680495fdbd57cf1085e473976f7210f2af
Author: Ruben Undheim <ruben.undheim at gmail.com>
Date: Mon Oct 12 23:39:32 2015 +0200
Do not delete style.xml during upgrade, but only when removing the package.
---
debian/changelog | 3 +++
debian/openstreetmap-carto.prerm | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 8b2d1a0..3cbde27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,9 @@ openstreetmap-carto (2.35.0-3) UNRELEASED; urgency=medium
/usr/share/openstreetmap-carto-common to make it
unnecessary to download data files again if they
have already been downloaded before the upgrade.
+ * debian/openstreetmap-carto.prerm:
+ - Do not delete style.xml during upgrade, but only when removing the
+ package.
-- Ruben Undheim <ruben.undheim at gmail.com> Mon, 12 Oct 2015 21:53:10 +0200
diff --git a/debian/openstreetmap-carto.prerm b/debian/openstreetmap-carto.prerm
index 3f1af85..c7ecbac 100644
--- a/debian/openstreetmap-carto.prerm
+++ b/debian/openstreetmap-carto.prerm
@@ -18,10 +18,13 @@ set -e
case "$1" in
- remove|upgrade|deconfigure)
+ remove|deconfigure)
rm -f /usr/share/openstreetmap-carto/style.xml
;;
+ upgrade)
+ ;;
+
failed-upgrade)
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openstreetmap-carto.git
More information about the Pkg-grass-devel
mailing list