summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-08-31 22:23:20 +0100
committerMarek Szuba <marecki@gentoo.org>2021-08-31 22:25:04 +0100
commit56ea2789b4419e88efa61794dbd8fed82102ae93 (patch)
treec9b15ab9cfd7b68600e9d405af23897e38131034 /media-fonts
parentsys-cluster/kube-scheduler: 1.19.14 bump (diff)
downloadgentoo-56ea2789b4419e88efa61794dbd8fed82102ae93.tar.gz
gentoo-56ea2789b4419e88efa61794dbd8fed82102ae93.tar.bz2
gentoo-56ea2789b4419e88efa61794dbd8fed82102ae93.zip
media-fonts/terminus-font: skip font_pkg_config in PSF-only mode
Closes: https://bugs.gentoo.org/811282 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'media-fonts')
-rw-r--r--media-fonts/terminus-font/terminus-font-4.49.1.ebuild12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-fonts/terminus-font/terminus-font-4.49.1.ebuild b/media-fonts/terminus-font/terminus-font-4.49.1.ebuild
index 0a35eeb81266..8a4138700e40 100644
--- a/media-fonts/terminus-font/terminus-font-4.49.1.ebuild
+++ b/media-fonts/terminus-font/terminus-font-4.49.1.ebuild
@@ -86,3 +86,15 @@ src_install() {
einstalldocs
}
+
+pkg_postinst() {
+ if use otf || use pcf-8bit || use pcf-unicode; then
+ font_pkg_postinst
+ fi
+}
+
+pkg_postrm() {
+ if use otf || use pcf-8bit || use pcf-unicode; then
+ font_pkg_postrm
+ fi
+}