diff options
author | Stuart Herbert <stuart@gentoo.org> | 2003-12-23 20:32:22 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2003-12-23 20:32:22 +0000 |
commit | a5105825aac1389c144660a25b02dfa71daefea1 (patch) | |
tree | f35beee9fde3ac4706bbbd8ac7d606adc5200ca2 /eclass | |
parent | fixed typo (bug #36375), marked -r3 stable (diff) | |
download | gentoo-2-a5105825aac1389c144660a25b02dfa71daefea1.tar.gz gentoo-2-a5105825aac1389c144660a25b02dfa71daefea1.tar.bz2 gentoo-2-a5105825aac1389c144660a25b02dfa71daefea1.zip |
Improved support for upgrading users
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/nxserver.eclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eclass/nxserver.eclass b/eclass/nxserver.eclass index b3250c7038b0..fbb8ed57ccac 100644 --- a/eclass/nxserver.eclass +++ b/eclass/nxserver.eclass @@ -85,6 +85,8 @@ nxserver_pkg_postinst() { if [ -f /usr/NX/etc/passwd -a -f /usr/NX/etc/passwords ]; then mv /usr/NX/etc/passwd /usr/NX/etc/passwords + fi + if [ -f /usr/NX/etc/passwords ]; then l_szPasswd=passwords fi @@ -94,6 +96,7 @@ nxserver_pkg_postinst() { fi if [ -d /usr/NX/nxhome -a -d /usr/NX/home ]; then + einfo "Moving home directory of user 'nx' to /usr/NX/home" usermod -d /usr/NX/home nx fi |