From 0dfbd051d3ecae1d0870f0653520f3a8f841db90 Mon Sep 17 00:00:00 2001 From: Ferenc Erki Date: Sun, 5 May 2024 00:42:54 +0200 Subject: x11-terms/st: prefer explicit string check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ferenc Erki Closes: https://github.com/gentoo/gentoo/pull/36534 Signed-off-by: Petr Vaněk --- x11-terms/st/st-0.9.2.ebuild | 2 +- x11-terms/st/st-0.9.ebuild | 2 +- x11-terms/st/st-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'x11-terms') diff --git a/x11-terms/st/st-0.9.2.ebuild b/x11-terms/st/st-0.9.2.ebuild index 87d6dfc80752..0686a4db528e 100644 --- a/x11-terms/st/st-0.9.2.ebuild +++ b/x11-terms/st/st-0.9.2.ebuild @@ -66,7 +66,7 @@ src_install() { } pkg_postinst() { - if ! [[ "${REPLACING_VERSIONS}" ]]; then + if [[ -z "${REPLACING_VERSIONS}" ]]; then elog "Please ensure a usable font is installed, like" elog " media-fonts/corefonts" elog " media-fonts/dejavu" diff --git a/x11-terms/st/st-0.9.ebuild b/x11-terms/st/st-0.9.ebuild index b2b6169f16ad..c74829a218fe 100644 --- a/x11-terms/st/st-0.9.ebuild +++ b/x11-terms/st/st-0.9.ebuild @@ -66,7 +66,7 @@ src_install() { } pkg_postinst() { - if ! [[ "${REPLACING_VERSIONS}" ]]; then + if [[ -z "${REPLACING_VERSIONS}" ]]; then elog "Please ensure a usable font is installed, like" elog " media-fonts/corefonts" elog " media-fonts/dejavu" diff --git a/x11-terms/st/st-9999.ebuild b/x11-terms/st/st-9999.ebuild index 87d6dfc80752..0686a4db528e 100644 --- a/x11-terms/st/st-9999.ebuild +++ b/x11-terms/st/st-9999.ebuild @@ -66,7 +66,7 @@ src_install() { } pkg_postinst() { - if ! [[ "${REPLACING_VERSIONS}" ]]; then + if [[ -z "${REPLACING_VERSIONS}" ]]; then elog "Please ensure a usable font is installed, like" elog " media-fonts/corefonts" elog " media-fonts/dejavu" -- cgit v1.2.3-65-gdbad