pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/eawpatches INSTALL_DATA_DIR does not error out w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ee61c5724d0b
branches:  trunk
changeset: 484481:ee61c5724d0b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sat Nov 27 16:48:56 2004 +0000

description:
INSTALL_DATA_DIR does not error out when the directory already exists;
remove test for dir existence.

diffstat:

 audio/eawpatches/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 7aa2fd467f62 -r ee61c5724d0b audio/eawpatches/Makefile
--- a/audio/eawpatches/Makefile Sat Nov 27 16:30:15 2004 +0000
+++ b/audio/eawpatches/Makefile Sat Nov 27 16:48:56 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2003/12/24 09:53:47 jmmv Exp $
+# $NetBSD: Makefile,v 1.13 2004/11/27 16:48:56 wiz Exp $
 #
 
 DISTNAME=      eawpats12_full
@@ -20,9 +20,7 @@
 NO_BUILD=      yes
 
 do-install:
-       if [ ! -d ${PREFIX}/share/timidity ]; then \
-               ${INSTALL_DATA_DIR} ${PREFIX}/share/timidity; \
-       fi
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/timidity
        cd ${PREFIX}/share/timidity && \
        unrar x -o+ -inul ${DISTDIR}/${DISTNAME}
        ${CHMOD} 644 ${PREFIX}/share/timidity/*.* \



Home | Main Index | Thread Index | Old Index