- Fix preserve original *.conf files Generated and tested manually, tested with port test, sent with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
Author: wg Date: Mon Jul 1 14:42:37 2013 New Revision: 322129 URL: http://svnweb.freebsd.org/changeset/ports/322129 Log: misc/lxde-common: preserve conf files - Fix preservation of old .conf files PR: ports/180111 Submitted by: nemysis <nemysis@gmx.ch> (maintainer) Modified: head/misc/lxde-common/Makefile Modified: head/misc/lxde-common/Makefile ============================================================================== --- head/misc/lxde-common/Makefile Mon Jul 1 14:33:42 2013 (r322128) +++ head/misc/lxde-common/Makefile Mon Jul 1 14:42:37 2013 (r322129) @@ -37,12 +37,10 @@ OPTIONS_DEFINE= DOCS post-install: ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf.sample ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf.sample -.if ! exists(${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf) - ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf -.endif -.if ! exists(${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf) - ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf -.endif + @[ -f ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf ] || \ + ${INSTALL_DATA} ${WRKSRC}/desktop.conf ${PREFIX}/etc/xdg/lxsession/LXDE/desktop.conf + @[ -f ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf ] || \ + ${INSTALL_DATA} ${WRKSRC}/pcmanfm/pcmanfm.conf ${PREFIX}/etc/xdg/pcmanfm/LXDE/pcmanfm.conf .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Responsible Changed From-To: freebsd-ports-bugs->wg I'll take it.
State Changed From-To: open->closed Committed. Thanks!