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
commit39de76a7260199a217987d9f231ecffc336a06cf (patch)
tree383958a7a29ef7007b5d4d5f40cd90c3c1953c6f /eclass/nxserver.eclass
parentrm old (diff)
downloadhistorical-39de76a7260199a217987d9f231ecffc336a06cf.tar.gz
historical-39de76a7260199a217987d9f231ecffc336a06cf.tar.bz2
historical-39de76a7260199a217987d9f231ecffc336a06cf.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