[ptxdist] [PATCH] inetd services: don't use busybox's find in postinst

2019-06-18 Thread Roland Hieber
busybox's find doesn't understand '-empty', so when running these postinst scripts on a system without GNU coreutils, they will display a nice help text instead. Replace the find call with a test that tries to expand the same pattern that is used afterwards, so cat doesn't run with a non-matching

Re: [ptxdist] [PATCH] inetd services: don't use busybox's find in postinst

2019-06-18 Thread Roland Hieber
On Mon, Jun 17, 2019 at 08:04:42PM +0200, Alexander Dahl wrote: > Hello Roland, > > On Mon, Jun 17, 2019 at 04:06:46PM +0200, Roland Hieber wrote: > > busybox's find doesn't understand '-empty', so when running these > > postinst scripts on a system without GNU coreutils, they will display a > > n

Re: [ptxdist] [PATCH] inetd services: don't use busybox's find in postinst

2019-06-17 Thread Alexander Dahl
Hello Roland, On Mon, Jun 17, 2019 at 04:06:46PM +0200, Roland Hieber wrote: > busybox's find doesn't understand '-empty', so when running these > postinst scripts on a system without GNU coreutils, they will display a > nice help text instead. In deed. > diff --git a/rules/busybox.postinst b/ru

[ptxdist] [PATCH] inetd services: don't use busybox's find in postinst

2019-06-17 Thread Roland Hieber
busybox's find doesn't understand '-empty', so when running these postinst scripts on a system without GNU coreutils, they will display a nice help text instead. Replace the find call with a test that tries to expand the same pattern that is used afterwards, so cat doesn't run with a non-matching