summaryrefslogtreecommitdiffstats
path: root/x11/gdm2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-03-22 07:51:24 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-03-22 07:51:24 +0800
commit2298ae1d19268afb833c8b6fdd64e5c76981f195 (patch)
treed8c13a68b1fd5466ace24cce0d9e50868123ca8e /x11/gdm2
parentf099191f99b5231538ee0cc68743703b46676b96 (diff)
downloadmarcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.tar
marcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.tar.gz
marcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.tar.bz2
marcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.tar.lz
marcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.tar.xz
marcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.tar.zst
marcuscom-ports-2298ae1d19268afb833c8b6fdd64e5c76981f195.zip
Clean up the pkg-install a bit.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2133 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm2')
-rw-r--r--x11/gdm2/pkg-install10
1 files changed, 4 insertions, 6 deletions
diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install
index b8f29b328..13e26f4bf 100644
--- a/x11/gdm2/pkg-install
+++ b/x11/gdm2/pkg-install
@@ -1,10 +1,7 @@
#!/bin/sh
-if [ -n "${PACKAGE_BUILDING}" ]; then
- exit 0
-fi
-
-if [ "$2" = "POST-INSTALL" ]; then
+case $2 in
+POST-INSTALL)
USER=gdm
GROUP=${USER}
UID=92
@@ -39,4 +36,5 @@ if [ "$2" = "POST-INSTALL" ]; then
${CHOWN} -R ${USER}:${GROUP} ${PKG_PREFIX}/share/gnome/gdm ${PKG_PREFIX}/etc/gdm
${CHMOD} 0750 ${PKG_PREFIX}/share/gnome/gdm
exit 0
-fi
+ ;;
+esac