Date: Fri, 27 Sep 2013 19:11:00 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r328508 - head/Mk Message-ID: <201309271911.r8RJB0sV093882@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Fri Sep 27 19:10:59 2013 New Revision: 328508 URL: http://svnweb.freebsd.org/changeset/ports/328508 Log: - Fix message displayed when the port being installed is already installed Approved by: portmgr (bdrewery via irc) Modified: head/Mk/bsd.pkgng.mk Modified: head/Mk/bsd.pkgng.mk ============================================================================== --- head/Mk/bsd.pkgng.mk Fri Sep 27 18:33:16 2013 (r328507) +++ head/Mk/bsd.pkgng.mk Fri Sep 27 19:10:59 2013 (r328508) @@ -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; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309271911.r8RJB0sV093882>