[Python-modules-commits] [django-countries] 03/04: Remove the whole locales directory in the prerm maintainer script.

Michael Fladischer fladi at moszumanska.debian.org
Sat Dec 26 19:34:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository django-countries.

commit 6745f4607c48026ea5855eb1e2f9bb2e0864d063
Author: Michael Fladischer <fladi at debian.org>
Date:   Sat Dec 26 20:23:27 2015 +0100

    Remove the whole locales directory in the prerm maintainer script.
---
 debian/python-django-countries.prerm  | 2 +-
 debian/python3-django-countries.prerm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/python-django-countries.prerm b/debian/python-django-countries.prerm
index fe62254..6c247e2 100644
--- a/debian/python-django-countries.prerm
+++ b/debian/python-django-countries.prerm
@@ -4,7 +4,7 @@ set -eu
 
 # Remove directories and symlinks created during postinst.
 if [ "$1" = "remove" ]; then
-     rm -rf /usr/share/python-django-countries/locale/*
+     rm -rf /usr/share/python-django-countries/locale
 fi
 
 #DEBHELPER#
diff --git a/debian/python3-django-countries.prerm b/debian/python3-django-countries.prerm
index cf4eb42..6c4124d 100644
--- a/debian/python3-django-countries.prerm
+++ b/debian/python3-django-countries.prerm
@@ -4,7 +4,7 @@ set -eu
 
 # Remove directories and symlinks created during postinst.
 if [ "$1" = "remove" ]; then
-     rm -rf /usr/share/python3-django-countries/locale/*
+     rm -rf /usr/share/python3-django-countries/locale
 fi
 
 #DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-countries.git



More information about the Python-modules-commits mailing list