summaryrefslogtreecommitdiffstats
path: root/x11/gdm2
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2')
-rw-r--r--x11/gdm2/Makefile2
-rw-r--r--x11/gdm2/pkg-install3
2 files changed, 4 insertions, 1 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index c3aa39d..940ec1a 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdm2
PORTVERSION= 2.6.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6
diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install
index 0697267..135a928 100644
--- a/x11/gdm2/pkg-install
+++ b/x11/gdm2/pkg-install
@@ -9,6 +9,7 @@ POST-INSTALL)
PW=/usr/sbin/pw
CHMOD=/bin/chmod
CHOWN=/usr/sbin/chown
+ MKDIR=/bin/mkdir
if ${PW} group show "${GROUP}" 2>/dev/null; then
echo "You already have a group \"${GROUP}\", so I will use it."
@@ -35,6 +36,8 @@ POST-INSTALL)
fi
${CHOWN} -R root:${GROUP} ${PKG_PREFIX}/share/gnome/gdm
${CHMOD} 1770 ${PKG_PREFIX}/share/gnome/gdm
+
+ ${MKDIR} -p ${PKG_PREFIX}/etc/dm/Sessions
exit 0
;;
esac
OpenPOWER on IntegriCloud