create ${X11BASE}/etc/gdm/Sessions if it doesn't exist and WITH_GDM is specified

This commit is contained in:
Oliver Lehmann 2004-04-16 18:25:16 +00:00
parent 83dea9ea8f
commit 2919f69e0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107257

View File

@ -59,6 +59,8 @@ do-install: # empty
post-install:
.if defined(WITH_GDM)
@${TEST} -d ${X11BASE}/etc/gdm/Sessions || \
${MKDIR} -p ${X11BASE}/etc/gdm/Sessions
@${INSTALL_SCRIPT} ${FILESDIR}/XFce4 ${X11BASE}/etc/gdm/Sessions
@${INSTALL_DATA} ${FILESDIR}/XFce4.desktop ${X11BASE}/etc/dm/Sessions
.endif