On Sat, Jun 02, 2012 at 05:27:30PM +0000, Jakub Wilk wrote [edited]:
[..]
> I would add -x/--line-regexp to the fgrep call.
>
> Wouldn't it be nice if the postinst also take care of the case when the
> user enabled the service?
the line I'm suggesting in dep9 is:
if fgrep -q '^exact entry previously added by update-inetd$'
/etc/inetd.conf \
which is not really concerned with whether the line is disabled or not. I
think both cases are valid for removal, as long as they have not been locally
modified (hence the '^...$' pattern).
-x is a fine suggestion.
thanks again to both of you.
--
Every great idea is worthless without someone to do the work. --Neil Williams
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20120602180437.GC19589@mobee