Re: /usr/lib/ocaml/3.06/ld.conf is still on my system
On Thu, Oct 09, 2003 at 09:14:19AM +0200, Martin Pitt wrote:
> Am 2003-10-09 1:29 +0200 schrieb Sven Luther:
> > Ideally, i should erase the ld.conf, verify that the directory is empty,
> > and then rmdir it. I have no idea how i test that a directory is empty
> > though.
> What about
> rmdir /path/to/dir 2> /dev/null || echo "not empty"
> ? If you don't need the outcome (i. e. just make sure that its gone if
> it was empty), a plain
> rmdir --ignore-fail-on-non-empty /path/to/dir
> is sufficient, rmdir doesn't return an error then.
Ok, nice i will do it like that then, expect a new ocaml package release
before todays dinstall run.