[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: one package altering other package's postrm



Alexandre Detiste <alexandre.detiste@gmail.com> writes:

...
>> then rather than simply removing the postrm, you could edit it, thus:
>>
>>   sed -e 's#rm .*/etc/cron.allow#: &#' /var/lib/dpkg/info/cron.postrm
>
> I would do that; that's the least intrusive.

Oh, I pasted the wrong version of that -- it should have been '-i' to do
an in-place edit:

  sed -i 's#rm .*/etc/cron.allow#: &#' /var/lib/dpkg/info/cron.postrm

Cheers, Phil.
-- 
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: pgpvTqQ0jpeVw.pgp
Description: PGP signature


Reply to: