summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerenc Erki <erkiferenc@gmail.com>2024-05-05 00:42:54 +0200
committerPetr Vaněk <arkamar@gentoo.org>2024-05-05 10:30:37 +0200
commit0dfbd051d3ecae1d0870f0653520f3a8f841db90 (patch)
tree6411f05e33844c9e6b9d50fe8543637eb2aadb8e /x11-terms
parentx11-terms/st-terminfo: drop 0.8.5 (diff)
downloadgentoo-0dfbd051d3ecae1d0870f0653520f3a8f841db90.tar.gz
gentoo-0dfbd051d3ecae1d0870f0653520f3a8f841db90.tar.bz2
gentoo-0dfbd051d3ecae1d0870f0653520f3a8f841db90.zip
x11-terms/st: prefer explicit string check
Signed-off-by: Ferenc Erki <erkiferenc@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36534 Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/st/st-0.9.2.ebuild2
-rw-r--r--x11-terms/st/st-0.9.ebuild2
-rw-r--r--x11-terms/st/st-9999.ebuild2
3 files changed, 3 insertions, 3 deletions
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"