diff options
author | flo <flo@FreeBSD.org> | 2013-05-05 06:48:03 +0800 |
---|---|---|
committer | flo <flo@FreeBSD.org> | 2013-05-05 06:48:03 +0800 |
commit | 02ba370ac4348e20c88c9698d4e91f3fe34868c8 (patch) | |
tree | ab399d9912d8f00891d9d8508edf96aa3ef0bc0b /textproc | |
parent | ab79042bad4c4010d43e6983f39a47e3575126a5 (diff) | |
download | freebsd-ports-gnome-02ba370ac4348e20c88c9698d4e91f3fe34868c8.tar.gz freebsd-ports-gnome-02ba370ac4348e20c88c9698d4e91f3fe34868c8.tar.zst freebsd-ports-gnome-02ba370ac4348e20c88c9698d4e91f3fe34868c8.zip |
Fix installation of ports that rely on cp -n for installing files. r245960
changed cp to exit with a non-zero exit code if the file exists and is not
overwritten thus causing ports to fail installing when e.g. trying to cp
.default -> .conf files that already exist.
We just ignore the error and continue, as we used to.
Reported by: jaset
Approved by: portmgr (bapt)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/pootle/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/textproc/pootle/Makefile b/textproc/pootle/Makefile index 2e313f741f96..684aa3391057 100644 --- a/textproc/pootle/Makefile +++ b/textproc/pootle/Makefile @@ -94,7 +94,7 @@ post-patch: post-install: @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CP} -n ${PREFIX}/etc/pootle/localsettings.py.sample \ - ${PREFIX}/etc/pootle/localsettings.py + ${PREFIX}/etc/pootle/localsettings.py || ${TRUE} .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} |