Fixed installation bug when there are extensions installed (rmdir || true).

This commit is contained in:
Roland Illig 2004-08-07 11:27:57 +00:00 committed by Thomas Klausner
parent d3eb119b3a
commit c4fe54585c

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2004/05/12 15:22:49 thomasklausner Exp $ # $NetBSD: Makefile,v 1.6 2004/08/07 11:27:57 rillig Exp $
DISTNAME= mc-4.6.0 DISTNAME= mc-4.6.0
CATEGORIES= sysutils CATEGORIES= sysutils
@ -22,7 +22,7 @@ PLIST_SRC+= ${PKGDIR}/PLIST.cons.saver
# remove dir if no extensions were installed there # remove dir if no extensions were installed there
post-install: post-install:
@${RMDIR} ${PREFIX}/lib/mc 2>/dev/null @${RMDIR} ${PREFIX}/lib/mc 2>/dev/null || ${TRUE}
# we need working e2fsprogs and gpm packages first # we need working e2fsprogs and gpm packages first
CONFIGURE_ARGS= --prefix=${PREFIX} \ CONFIGURE_ARGS= --prefix=${PREFIX} \