Date: Wed, 14 Jan 2015 10:15:07 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377005 - in head/astro: stellarium stellarium-qt4 Message-ID: <201501141015.t0EAF7mF099647@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Wed Jan 14 10:15:06 2015 New Revision: 377005 URL: https://svnweb.freebsd.org/changeset/ports/377005 QAT: https://qat.redports.org/buildarchive/r377005/ Log: Fix the logic so it actually works as intended. Modified: head/astro/stellarium-qt4/Makefile head/astro/stellarium/Makefile Modified: head/astro/stellarium-qt4/Makefile ============================================================================== --- head/astro/stellarium-qt4/Makefile Wed Jan 14 09:54:42 2015 (r377004) +++ head/astro/stellarium-qt4/Makefile Wed Jan 14 10:15:06 2015 (r377005) @@ -84,8 +84,8 @@ post-install: existing=`${STAT} -qf '%z' \ ${STAGEDIR}${DATADIR}/textures/$$f || \ ${ECHO_CMD} 0` ; \ - ${TEST} $$new -gt $$existing && \ - ${ECHO_CMD} "-- Replacing texture: $$f\ + ${TEST} $$new -gt $$existing || continue ; \ + ${ECHO_CMD} "-- Replacing texture: $$f\ (has larger file size or missing)" ; \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \ done) Modified: head/astro/stellarium/Makefile ============================================================================== --- head/astro/stellarium/Makefile Wed Jan 14 09:54:42 2015 (r377004) +++ head/astro/stellarium/Makefile Wed Jan 14 10:15:06 2015 (r377005) @@ -64,8 +64,8 @@ post-install: new=`${STAT} -f '%z' $$f` ; \ existing=`${STAT} -f '%z' \ ${STAGEDIR}${DATADIR}/textures/$$f` ; \ - ${TEST} $$new -gt $$existing && \ - ${ECHO_CMD} "-- Replacing texture: $$f\ + ${TEST} $$new -gt $$existing || continue ; \ + ${ECHO_CMD} "-- Replacing texture: $$f\ (has larger file size)" ; \ ${INSTALL_DATA} $$f ${STAGEDIR}${DATADIR}/textures ; \ done)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501141015.t0EAF7mF099647>