misc/lxde-common: preserve conf files
- Fix preservation of old .conf files PR: ports/180111 Submitted by: nemysis <nemysis@gmx.ch> (maintainer)
This commit is contained in:
parent
ab42a90818
commit
bfba655029
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322129
1 changed files with 4 additions and 6 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue