diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-12-22 20:24:23 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-12-22 20:24:23 +0000 |
commit | 16ae9f13a0dffdaa35e94adf01857c4630be2f4c (patch) | |
tree | 7532fd0dbdfe3b310ba975b486768c6e6999016b /eclass/nxserver.eclass | |
parent | rm old (diff) | |
download | gentoo-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.eclass | 4 |
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 |