diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-28 03:10:59 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2013-09-28 03:10:59 +0800 |
commit | 0c487cb3090bd46e7931a0a4c80b1aaa9a8e05f9 (patch) | |
tree | 7345c56c1ff0ca8d55a6d7d13dc05b61c0bb6e3e /Mk | |
parent | b1b57387e672fa2bfcc28b35783620094cf9a207 (diff) | |
download | freebsd-ports-graphics-0c487cb3090bd46e7931a0a4c80b1aaa9a8e05f9.tar.gz freebsd-ports-graphics-0c487cb3090bd46e7931a0a4c80b1aaa9a8e05f9.tar.zst freebsd-ports-graphics-0c487cb3090bd46e7931a0a4c80b1aaa9a8e05f9.zip |
- Fix message displayed when the port being installed is already installed
Approved by: portmgr (bdrewery via irc)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.pkgng.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.pkgng.mk b/Mk/bsd.pkgng.mk index 78987af53eb..f72079aada7 100644 --- a/Mk/bsd.pkgng.mk +++ b/Mk/bsd.pkgng.mk @@ -263,8 +263,8 @@ check-already-installed: pkgname=`${PKG_INFO} -q -O ${PKGORIGIN}`; \ if [ -n "$${pkgname}" ]; then \ v=`${PKG_VERSION} -t $${pkgname} ${PKGNAME}`; \ - if [ "w$${v}" = "x<" ]; then \ - ${ECHO_CMD} "===> An older version of ${PKGORIGIN} is already installed ($${found_package})"; \ + if [ "$${v}" = "<" ]; then \ + ${ECHO_CMD} "===> An older version of ${PKGORIGIN} is already installed ($${pkgname})"; \ else \ ${ECHO_CMD} "===> ${PKGNAME} is already installed"; \ fi; \ |