diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-11-24 02:16:00 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-11-24 02:16:00 +0800 |
commit | b50ebc7ff7d4a53176cba88ab679c9738e7c0123 (patch) | |
tree | 84342da24cdafea0feeecbf109c418be2c55b914 /x11 | |
parent | c27c301343a9942aadbf04825cafb662b4ffb61c (diff) | |
download | marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.tar marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.tar.gz marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.tar.bz2 marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.tar.lz marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.tar.xz marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.tar.zst marcuscom-ports-b50ebc7ff7d4a53176cba88ab679c9738e7c0123.zip |
Move the mkdir etc/gdm/Sessions line from the Makefile to pkg-install.
So this directory is made when installing gdm from a package.
Requested by: Joseph S. Atkinson @ irc
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13234 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 3 | ||||
-rw-r--r-- | x11/gdm/pkg-install | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 3e452f267..553399e2b 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm/Makefile,v 1.161 2009/10/20 10:40:55 kwm Exp $ +# $MCom: ports/x11/gdm/Makefile,v 1.162 2009/10/25 00:14:31 marcus Exp $ # PORTNAME= gdm @@ -95,7 +95,6 @@ post-install: ${PREFIX}/etc/gdm/custom.conf.default ${MKDIR} ${PREFIX}/share/xsessions ${INSTALL_DATA} ${WRKDIR}/gdm.pam ${PREFIX}/etc/pam.d/gdm - @${MKDIR} ${PREFIX}/etc/gdm/Sessions @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} diff --git a/x11/gdm/pkg-install b/x11/gdm/pkg-install index 3af42623e..dffd607f2 100644 --- a/x11/gdm/pkg-install +++ b/x11/gdm/pkg-install @@ -62,6 +62,7 @@ POST-INSTALL) ${CHMOD} 1750 ${PKG_PREFIX}/etc/gdm/home/.gconf.mandatory ${CHMOD} 1640 ${PKG_PREFIX}/etc/gdm/home/.gconf.mandatory/*.xml + ${MKDIR} -p ${PKG_PREFIX}/etc/gdm/Sessions ${MKDIR} -p ${PKG_PREFIX}/etc/dm/Sessions exit 0 ;; |