Gentoo Archives: gentoo-dev

From: Jonathan Callen <abcd@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog
Date: Sun, 03 Jul 2011 23:12:11
Message-Id: 20110703231210.A6BB321C074@pigeon.gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-misc/aria2: aria2-1.12.0.ebuild ChangeLog by Peter Volkov
1 Peter Volkov wrote:
2 >>
3 >> rm -rf "${D}/usr/share/doc/aria2"
4 >
5 > || die
6
7 `rm -f` never fails -- if the target does not exist, then rm simply returns
8 true. (The only reason it would fail that I can think of is /bin/rm not
9 existing, in which case you have a bigger problem.)
10
11 To test, try `rm -f /nonexistant/file; echo $?`
12
13 --
14 Jonathan Callen