From f77ef8fca846989a78fc09fc9623ba25fc13395b Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 29 Aug 2017 15:01:22 -0400 Subject: [PATCH] sys-user.eclass: fix REPLACING_VERSIONS -> REPLACED_BY_VERSION name. --- eclass/sys-user.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/sys-user.eclass b/eclass/sys-user.eclass index 16d77c0..cac5d2a 100644 --- a/eclass/sys-user.eclass +++ b/eclass/sys-user.eclass @@ -269,7 +269,7 @@ sys-user_pkg_prerm() { if [[ -z $(sys-user_getuid "${SYS_USER_NAME}") ]]; then # We have successfully done nothing. ewarn "Tried to remove nonexistent user ${SYS_USER_NAME}." - elif [[ -z "${REPLACING_VERSIONS}" ]]; then + elif [[ -z "${REPLACED_BY_VERSION}" ]]; then # The user to remove exists, and this is not an upgrade. For # Phase 1, we maintain the status quo and simply refuse to # remove him (unless you know what you are doing). -- 2.44.2