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

Re: Problems found by piuparts



On Wed, 22 Feb 2006, Frank Küster wrote:
> Adeodato Simó <dato@net.com.org.es> wrote:
> >   Correct, so one would put in foo.postrm:
> >
> >     rmdir --ignore-fail-on-non-empty /usr/local/lib/foo
> 
> That's not sufficient, because /usr/local may be mounted ro, and
> therefore the command may fail even if the directory is empty.
> 
> rmdir --ignore-fail-on-non-empty /usr/local/lib/foo || true

So you're suggesting that it's better to fail silently instead of
failing loudly?


Don Armstrong
 
-- 
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence."
 -- Jeremy S. Anderson

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: