[Python-modules-commits] r19094 - in packages/django-countries/trunk/debian (1 file)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Sat Oct 29 20:44:41 UTC 2011


    Date: Saturday, October 29, 2011 @ 20:44:40
  Author: fladi-guest
Revision: 19094

Do not check if directory exists in prerm.

Modified:
  packages/django-countries/trunk/debian/python-django-countries.prerm

Modified: packages/django-countries/trunk/debian/python-django-countries.prerm
===================================================================
--- packages/django-countries/trunk/debian/python-django-countries.prerm	2011-10-29 20:42:45 UTC (rev 19093)
+++ packages/django-countries/trunk/debian/python-django-countries.prerm	2011-10-29 20:44:40 UTC (rev 19094)
@@ -3,6 +3,6 @@
 set -eu
 
 # Remove directories and symlinks created during postinst.
-if [ \( "$1" = "upgrade" -o "$1" = "remove" \) -a -d /usr/share/pyshared/django_countries/locale ]; then
-    rm -rf /usr/share/pyshared/django_countries/locale/*
+if [ "$1" = "upgrade" -o "$1" = "remove" ]; then
+     rm -rf /usr/share/pyshared/django_countries/locale/*
 fi




More information about the Python-modules-commits mailing list