[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 1.24.2-97-g8c57696



The following commit has been merged in the master branch:
commit 8c576967c0ae97bd7dc790051a920fe5929c09f3
Author: Frank Lichtenheld <djpig@debian.org>
Date:   Sat Aug 9 00:35:36 2008 -0300

    postrm: Do not try to remove non-existing directory
    
    Otherwise the purge will fail.

diff --git a/debian/changelog b/debian/changelog
index ecf1cf7..cf479b1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -128,6 +128,10 @@ lintian (1.24.3) unstable; urgency=low
     + [ADB] Resynchronize with doc-base's section list (adding
       Programming/OCaml).  (Closes: #491440)
 
+  * debian/postrm:
+    + [FL] Do not try to remove /var/spool/lintian if it doesn't exist
+      (dpkg might already removed it at this point).
+
   * doc/desc-files:
     + [ADB] Update the description of tags to include experimental and info
       tags.
@@ -173,7 +177,7 @@ lintian (1.24.3) unstable; urgency=low
     + [ADB] Munge .changes filenames so that the tests produce consistent
       output across architectures
 
- -- Frank Lichtenheld <djpig@debian.org>  Fri, 08 Aug 2008 20:32:56 -0300
+ -- Frank Lichtenheld <djpig@debian.org>  Sat, 09 Aug 2008 00:35:13 -0300
 
 lintian (1.24.2) unstable; urgency=low
 
diff --git a/debian/postrm b/debian/postrm
index 183c845..8bc9de5 100755
--- a/debian/postrm
+++ b/debian/postrm
@@ -11,7 +11,7 @@ if [ "$1" = "purge" ]; then
         rm -rf /var/spool/lintian/udeb
         rm -rf /var/spool/lintian/info
     fi
-    rmdir --ignore-fail-on-non-empty /var/spool/lintian
+    [ ! -d /var/spool/lintian ] || rmdir --ignore-fail-on-non-empty /var/spool/lintian
 fi
 
 #DEBHELPER#

-- 
Debian package checker


Reply to: