diff options
author | William Grzybowski <wg@FreeBSD.org> | 2013-07-01 14:42:37 +0000 |
---|---|---|
committer | William Grzybowski <wg@FreeBSD.org> | 2013-07-01 14:42:37 +0000 |
commit | bfba655029dfa30b6dbd1ad0409505c218001c89 (patch) | |
tree | 79bed9af4c9d2b499e0ebf92ad7bfbebfbb4c74f /misc | |
parent | - Update to 1.80 (diff) |
misc/lxde-common: preserve conf files
- Fix preservation of old .conf files
PR: ports/180111
Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
Notes
Notes:
svn path=/head/; revision=322129
Diffstat (limited to 'misc')
-rw-r--r-- | misc/lxde-common/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/lxde-common/Makefile b/misc/lxde-common/Makefile index d33ef95d52b5..54794a9a17d4 100644 --- a/misc/lxde-common/Makefile +++ b/misc/lxde-common/Makefile @@ -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} |