summaryrefslogtreecommitdiffstats
path: root/rules/pureftpd.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'rules/pureftpd.postinst')
-rw-r--r--rules/pureftpd.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/pureftpd.postinst b/rules/pureftpd.postinst
index c753ee744..6f564791d 100644
--- a/rules/pureftpd.postinst
+++ b/rules/pureftpd.postinst
@@ -2,7 +2,7 @@
# generate inetd.conf
if [ -d $DESTDIR/etc/inetd.conf.d ] &&
- [ -n "`find $DESTDIR/etc/inetd.conf.d -type d -empty`" ]; then
+ [ -z "`find $DESTDIR/etc/inetd.conf.d -type d -empty`" ]; then
cat $DESTDIR/etc/inetd.conf.d/* > $DESTDIR/etc/inetd.conf
fi