pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/openldap Use -f to force removal of the defa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d553f0788ec
branches:  trunk
changeset: 498319:4d553f0788ec
user:      reed <reed%pkgsrc.org@localhost>
date:      Fri Aug 19 19:59:59 2005 +0000

description:
Use -f to force removal of the default files.

My error was:

/bin/rm /home/reed/pkg/share/examples/openldap/schema/corba.schema.default
override r--r--r--  reed/2022 for /home/reed/pkg/share/examples/openldap/schema/corba.schema.default?

(For several files it was interactive to remove.)

This is when doing non-privileged builds.

(An alternative to this is to make it install the *default files with
NONBINMODE in the first place.)

diffstat:

 databases/openldap/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bb75cd6844bc -r 4d553f0788ec databases/openldap/Makefile
--- a/databases/openldap/Makefile       Fri Aug 19 19:46:24 2005 +0000
+++ b/databases/openldap/Makefile       Fri Aug 19 19:59:59 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.100 2005/08/03 21:01:40 jlam Exp $
+# $NetBSD: Makefile,v 1.101 2005/08/19 19:59:59 reed Exp $
 
 DISTNAME=      openldap-2.2.27
 PKGREVISION=   1
@@ -99,7 +99,7 @@
 post-install:
 .for _file_ in ${CNFS} ${CNFS_PERMS}
        ${CHMOD} ${SHAREMODE} ${EGDIR}/${_file_}
-       ${RM} ${EGDIR}/${_file_}.default
+       ${RM} -f ${EGDIR}/${_file_}.default
 .endfor
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index