From eaff2fec3672397375e6d1584adeaa2d6c41a7ff Mon Sep 17 00:00:00 2001 From: Stuart Herbert Date: Tue, 23 Dec 2003 20:32:22 +0000 Subject: Improved support for upgrading users --- eclass/nxserver.eclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'eclass/nxserver.eclass') 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 -- cgit v1.2.3-65-gdbad