summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-12-22 20:24:23 +0000
committerStuart Herbert <stuart@gentoo.org>2003-12-22 20:24:23 +0000
commit16ae9f13a0dffdaa35e94adf01857c4630be2f4c (patch)
tree7532fd0dbdfe3b310ba975b486768c6e6999016b /eclass/nxserver.eclass
parentrm old (diff)
downloadgentoo-2-16ae9f13a0dffdaa35e94adf01857c4630be2f4c.tar.gz
gentoo-2-16ae9f13a0dffdaa35e94adf01857c4630be2f4c.tar.bz2
gentoo-2-16ae9f13a0dffdaa35e94adf01857c4630be2f4c.zip
Improvements for upgrading users
Diffstat (limited to 'eclass/nxserver.eclass')
-rw-r--r--eclass/nxserver.eclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/nxserver.eclass b/eclass/nxserver.eclass
index 6bdb92645882..dc09451ee61c 100644
--- a/eclass/nxserver.eclass
+++ b/eclass/nxserver.eclass
@@ -101,6 +101,10 @@ nxserver_pkg_postinst() {
l_szPasswd=passwords
fi
+ if [ ! -d /usr/NX/home ]; then
+ ln -s /usr/NX/nxhome /usr/NX/home
+ fi
+
einfo "Changing permissions for files under /usr/NX"
chown nx:root /usr/NX/etc/$l_szPasswd
chown -R nx:root /usr/NX/nxhome