sys-devel/automake: Don't fail if rm fails
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 12 Nov 2019 09:02:26 +0000 (10:02 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 12 Nov 2019 09:02:26 +0000 (10:02 +0100)
Closes: https://bugs.gentoo.org/699932
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-devel/automake/automake-1.16.1-r2.ebuild
sys-devel/automake/automake-9999.ebuild

index 70e1fed3e3796e6109370b40cbc1186af07728ea..75cccbd31b4173d0ea8c253a4cef5156d901a5cf 100644 (file)
@@ -72,7 +72,7 @@ src_prepare() {
 # to depend on texinfo to regen things.  #464146 (among others)
 slot_info_pages() {
        pushd "${ED}"/usr/share/info >/dev/null || die
-       rm dir || die
+       rm -f dir
 
        # Rewrite all the references to other pages.
        # before: * aclocal-invocation: (automake)aclocal Invocation.   Generating aclocal.m4.
index 9490f85d527a41910db042bc4afbf08b16829d23..aaaefaabe03c550c840798075617364c0909e064 100644 (file)
@@ -68,7 +68,7 @@ src_prepare() {
 # to depend on texinfo to regen things.  #464146 (among others)
 slot_info_pages() {
        pushd "${ED}"/usr/share/info >/dev/null || die
-       rm dir || die
+       rm -f dir
 
        # Rewrite all the references to other pages.
        # before: * aclocal-invocation: (automake)aclocal Invocation.   Generating aclocal.m4.