From 4b041343c957430b3b24d89bc8e510968b954490 Mon Sep 17 00:00:00 2001 From: salo Date: Fri, 11 Apr 2003 18:56:44 +0000 Subject: Don't shoot itself in the foot, STAGEDIR is removed in pre-install, no need to remove it in post-install while CWD is still in STAGEDIR. Noted by Will Partain on tech-pkg. --- graphics/netpbm/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'graphics') diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile index ea87cd980b5..fb46c6004b5 100644 --- a/graphics/netpbm/Makefile +++ b/graphics/netpbm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.68 2003/03/21 08:30:48 tron Exp $ +# $NetBSD: Makefile,v 1.69 2003/04/11 18:56:44 salo Exp $ DISTNAME= netpbm-10.11.6 PKGREVISION= 1 @@ -57,8 +57,7 @@ post-install: ${TEST} -d "${PREFIX}/$${DIR}" || \ ${ECHO} "@dirrm $${DIR}"; \ done >>${PLIST_SRC} && \ - ${GTAR} cf - * | ${GTAR} xpCf ${PREFIX} - && \ - ${RM} -fr ${STAGEDIR} + ${GTAR} cf - * | ${GTAR} xpCf ${PREFIX} - .include "../../graphics/png/buildlink2.mk" .include "../../graphics/tiff/buildlink2.mk" -- cgit v1.2.3