[Pkg-jed-commit] r276 - trunk/packages/jed/debian

Rafael Laboissiere rafael at costa.debian.org
Mon May 15 09:25:30 UTC 2006


Author: rafael
Date: 2006-05-15 09:25:29 +0000 (Mon, 15 May 2006)
New Revision: 276

Modified:
   trunk/packages/jed/debian/jed-common.postrm
Log:
Test whether the /etc/jed-init.d/ directory exists before removing it  

Modified: trunk/packages/jed/debian/jed-common.postrm
===================================================================
--- trunk/packages/jed/debian/jed-common.postrm	2006-05-15 07:43:36 UTC (rev 275)
+++ trunk/packages/jed/debian/jed-common.postrm	2006-05-15 09:25:29 UTC (rev 276)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
-if [ -z "$(ls /etc/jed-init.d/ 2>/dev/null)" ]; then
+if [ -d /etc/jed-init.d/ -a -z "$(ls /etc/jed-init.d/ 2>/dev/null)" ]; then
   rmdir /etc/jed-init.d
 fi
 




More information about the Pkg-jed-commit mailing list