pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ImageMagick Prepend shell command to remove s...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/301051f91ea1
branches:  trunk
changeset: 473753:301051f91ea1
user:      reed <reed%pkgsrc.org@localhost>
date:      Sat Apr 24 04:39:30 2004 +0000

description:
Prepend shell command to remove share directory with a "-"
(to ignore any errors).

This is so in the rare case that you already have files from an
old install that it won't fail to install new package.

This was discussed with maintainer, tron@, in March.

diffstat:

 graphics/ImageMagick/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 579d3831369e -r 301051f91ea1 graphics/ImageMagick/Makefile
--- a/graphics/ImageMagick/Makefile     Sat Apr 24 04:32:06 2004 +0000
+++ b/graphics/ImageMagick/Makefile     Sat Apr 24 04:39:30 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.115 2004/03/23 19:53:33 tron Exp $
+# $NetBSD: Makefile,v 1.116 2004/04/24 04:39:30 reed Exp $
 
 .include "Makefile.common"
 
@@ -42,7 +42,7 @@
 
 # Remove the empty directory
 post-install:
-       ${RMDIR} ${PREFIX}/share/ImageMagick
+       -${RMDIR} ${PREFIX}/share/ImageMagick
 
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../graphics/jasper/buildlink3.mk"



Home | Main Index | Thread Index | Old Index