make sure rm fails if it doesnt delete the binaries
authorMike Frysinger <vapier@gentoo.org>
Tue, 11 Jan 2005 18:44:56 +0000 (18:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 11 Jan 2005 18:44:56 +0000 (18:44 +0000)
sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild

index 922301e842f30ffe6e06c1bacc92a1f0fd7b283a..13408503ab3e84165a9cf22a5926d41f9f53b429 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild,v 1.3 2005/01/10 02:49:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild,v 1.4 2005/01/11 18:44:56 vapier Exp $
 
 inherit libtool flag-o-matic
 
@@ -39,7 +39,7 @@ src_compile() {
 src_install() {
        make install DESTDIR="${D}" || die "Install failed"
        # Make sure users only use the official namesys binaries
-       rm -r "${D}"/usr/{sbin,share/man}
+       rm -r "${D}"/usr/{sbin,share/man} || die "cant punt the cruft"
 
        dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
        docinto demos