diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-02-25 20:49:53 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-02-25 20:49:53 +0000 |
commit | da496e645e8183e0ee16da5c4b04bb544f5a3bfd (patch) | |
tree | 63be3fbce43a02831e345e0ab48aa6d2c65fb8a9 /rules | |
parent | 6317de62cf9afb529f4e9bf17345711aa056877b (diff) | |
download | ptxdist-da496e645e8183e0ee16da5c4b04bb544f5a3bfd.tar.gz ptxdist-da496e645e8183e0ee16da5c4b04bb544f5a3bfd.tar.xz |
* services: re-generate inetd.conf if there are rules (fixed wrong logic)
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@9845 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules')
-rw-r--r-- | rules/busybox.postinst | 2 | ||||
-rw-r--r-- | rules/cvs.postinst | 2 | ||||
-rw-r--r-- | rules/dnsmasq.postinst | 2 | ||||
-rw-r--r-- | rules/fam.postinst | 2 | ||||
-rw-r--r-- | rules/inetutils.postinst | 2 | ||||
-rw-r--r-- | rules/portmap.postinst | 2 | ||||
-rw-r--r-- | rules/pureftpd.postinst | 2 | ||||
-rw-r--r-- | rules/rsync.postinst | 2 | ||||
-rw-r--r-- | rules/urshd.postinst | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/rules/busybox.postinst b/rules/busybox.postinst index c753ee744..6f564791d 100644 --- a/rules/busybox.postinst +++ b/rules/busybox.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 diff --git a/rules/cvs.postinst b/rules/cvs.postinst index c753ee744..6f564791d 100644 --- a/rules/cvs.postinst +++ b/rules/cvs.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 diff --git a/rules/dnsmasq.postinst b/rules/dnsmasq.postinst index c753ee744..6f564791d 100644 --- a/rules/dnsmasq.postinst +++ b/rules/dnsmasq.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 diff --git a/rules/fam.postinst b/rules/fam.postinst index c753ee744..6f564791d 100644 --- a/rules/fam.postinst +++ b/rules/fam.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 diff --git a/rules/inetutils.postinst b/rules/inetutils.postinst index c753ee744..6f564791d 100644 --- a/rules/inetutils.postinst +++ b/rules/inetutils.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 diff --git a/rules/portmap.postinst b/rules/portmap.postinst index c753ee744..6f564791d 100644 --- a/rules/portmap.postinst +++ b/rules/portmap.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 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 diff --git a/rules/rsync.postinst b/rules/rsync.postinst index c753ee744..6f564791d 100644 --- a/rules/rsync.postinst +++ b/rules/rsync.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 diff --git a/rules/urshd.postinst b/rules/urshd.postinst index c753ee744..6f564791d 100644 --- a/rules/urshd.postinst +++ b/rules/urshd.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 |