summaryrefslogtreecommitdiff
path: root/security/py-keyring
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-01-03 13:23:01 +0000
committerjperkin <jperkin@pkgsrc.org>2017-01-03 13:23:01 +0000
commitb2c72c7fada41010e5beeed332e23ef2d5e7ff93 (patch)
tree0afef97b509bb0ade4367b6585a9a9119c9042e7 /security/py-keyring
parent75e1986ea1f9aefbe1614eb290f3526ca149a93d (diff)
downloadpkgsrc-b2c72c7fada41010e5beeed332e23ef2d5e7ff93.tar.gz
Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
Diffstat (limited to 'security/py-keyring')
-rw-r--r--security/py-keyring/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile
index 109e23c9c8b..76b21ecd203 100644
--- a/security/py-keyring/Makefile
+++ b/security/py-keyring/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2016/08/28 15:48:34 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/01/03 13:23:03 jperkin Exp $
DISTNAME= keyring-5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -17,7 +17,7 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-hgtools>=5.0:../../devel/py-hgtools
REPLACE_PYTHON+= keyring/cli.py
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/keyring ${DESTDIR}${PREFIX}/bin/keyring-${PYVERSSUFFIX}
+ ${MV} ${DESTDIR}${PREFIX}/bin/keyring ${DESTDIR}${PREFIX}/bin/keyring-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"