[Pkg-jed-commit] r279 - trunk/packages/jed/debian
Rafael Laboissiere
rafael at costa.debian.org
Tue May 16 10:22:40 UTC 2006
Author: rafael
Date: 2006-05-16 10:22:38 +0000 (Tue, 16 May 2006)
New Revision: 279
Modified:
trunk/packages/jed/debian/jed-common.postrm
Log:
Use less convoluted shell code, as suggested by G. Milde.
Modified: trunk/packages/jed/debian/jed-common.postrm
===================================================================
--- trunk/packages/jed/debian/jed-common.postrm 2006-05-16 10:22:03 UTC (rev 278)
+++ trunk/packages/jed/debian/jed-common.postrm 2006-05-16 10:22:38 UTC (rev 279)
@@ -1,7 +1,7 @@
#!/bin/sh -e
-if [ -d /etc/jed-init.d/ -a -z "$(ls /etc/jed-init.d/ 2>/dev/null)" ]; then
- rmdir /etc/jed-init.d
+if [ -d /etc/jed-init.d ]; then
+ rmdir --ignore-fail-on-non-empty /etc/jed-init.d
fi
#DEBHELPER#
More information about the Pkg-jed-commit
mailing list