]> gitweb.michael.orlitzky.com - mjo-overlay.git/blobdiff - eclass/sys-user.eclass
sys-user.eclass: fix killer typo in variable name.
[mjo-overlay.git] / eclass / sys-user.eclass
index cac5d2a6cba08119db3fa65f45c03dca11d7f3ec..7cfffaf123a2e67e82ed41297c94e3a2c2ea2adf 100644 (file)
@@ -252,7 +252,7 @@ sys-user_pkg_preinst() {
                        die "home directory conflict for new user: ${SYS_USER_HOME}"
                fi
 
-               if [[ "${oldhshell}" != "${SYS_USER_SHELL}" ]]; then
+               if [[ "${oldshell}" != "${SYS_USER_SHELL}" ]]; then
                        die "shell conflict for new user: ${SYS_USER_SHELL}"
                fi
 
@@ -282,7 +282,6 @@ sys-user_pkg_prerm() {
                fi
 
                # The missing case: if the user exists and this is an upgrade,
-               # we leave the user alone to be modified in
-               # sys-user_pkg_preinst().
+               # we leave him alone to be modified in sys-user_pkg_preinst().
        fi
 }