diff options
author | Ulrich Müller <ulm@gentoo.org> | 2022-06-30 09:01:53 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2022-06-30 09:04:51 +0200 |
commit | 4354447f01b6d9e24bee6ea4fcac15fc019614fa (patch) | |
tree | 2e2f94e2277a0f84800cdd530991dd7d4fb72fdb /app-editors/nano | |
parent | net-dns/nsd: x86 stable wrt bug #855152 (diff) | |
download | gentoo-4354447f01b6d9e24bee6ea4fcac15fc019614fa.tar.gz gentoo-4354447f01b6d9e24bee6ea4fcac15fc019614fa.tar.bz2 gentoo-4354447f01b6d9e24bee6ea4fcac15fc019614fa.zip |
app-editors/nano: Don't warn when we're replaced by another version
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'app-editors/nano')
-rw-r--r-- | app-editors/nano/nano-6.3.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app-editors/nano/nano-6.3.ebuild b/app-editors/nano/nano-6.3.ebuild index ff0fcf25cd44..877c7dd59496 100644 --- a/app-editors/nano/nano-6.3.ebuild +++ b/app-editors/nano/nano-6.3.ebuild @@ -94,6 +94,7 @@ src_install() { pkg_postrm() { local e + [[ -n ${REPLACED_BY_VERSION} ]] && return e=$(unset EDITOR; . "${EROOT}"/etc/profile &>/dev/null; echo "${EDITOR}") if [[ ${e##*/} == nano ]]; then ewarn "The EDITOR variable is still set to ${e}." |