This is an automated email from the git hooks/post-receive script. rubund-guest pushed a commit to branch master in repository osm-tile-server.
commit 921d2e1e225c9e7301fed461867b6d787858a470 Author: Ruben Undheim <ruben.undh...@gmail.com> Date: Sun Oct 11 14:29:26 2015 +0200 Remove data directory on purge --- debian/changelog | 2 ++ debian/openstreetmap-carto-common.postrm | 41 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/debian/changelog b/debian/changelog index 49d93f9..de57770 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,6 +14,8 @@ openstreetmap-carto (2.35.0-2) UNRELEASED; urgency=low - Create /usr/share/openstreetmap-carto/style.xml * Added debian/openstreetmap-carto.prerm: - Remove /usr/share/openstreetmap-carto/style.xml + * Added debian/openstreetmap-carto-common.postrm: + - Clean up completely on purge * Debconf templates and debian/control reviewed by the debian-l10n- english team as part of the Smith review project. Closes: #793938 diff --git a/debian/openstreetmap-carto-common.postrm b/debian/openstreetmap-carto-common.postrm new file mode 100644 index 0000000..377a7a6 --- /dev/null +++ b/debian/openstreetmap-carto-common.postrm @@ -0,0 +1,41 @@ +#!/bin/sh +# postrm script for magic +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see https://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + + purge) + rm -rf /usr/share/openstreetmap-carto-common/data/ + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osm-tile-server.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel