Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-dev
2011/7/3 Paul Arthur <junk+usenet@...>:
> On 2011-07-03, Jonathan Callen <abcd@g.o> wrote:
>> Peter Volkov wrote:
>>>>
>>>> rm -rf "${D}/usr/share/doc/aria2"
>>>
>>> || die
>>
>> `rm -f` never fails -- if the target does not exist, then rm simply returns
>> true. (The only reason it would fail that I can think of is /bin/rm not
>> existing, in which case you have a bigger problem.)
>>
>> To test, try `rm -f /nonexistant/file; echo $?`
>
> jill-zeke /var/tmp $ rm -f testfile
> rm: cannot remove `testfile': Operation not permitted
> jill-zeke /var/tmp $ echo $?
> 1
rm -f "chuck norris"
rm: cannot remove `Chuck Norris': Operation not contemplated
echo $?
42
> jill-zeke /var/tmp $ rm -rf testdir
> rm: cannot remove `testdir/test': Permission denied
> jill-zeke /var/tmp $ echo $?
> 1
>
>
> --
> Suddenly, the door crashed open. Outside, purple prose rained down
> like a bad metaphor.
> --SteveD on RPGnet
>
>
>
|
|