summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-22 18:41:59 +0100
committerSam James <sam@gentoo.org>2022-04-22 18:43:08 +0100
commitae4f6dc77756ea346a2578ae15316d07849ac4ac (patch)
tree05798afb91b85c2671ad90a24405f2b15066443f /media-libs
parentsys-boot/lilo: fix ROOT check in pkg_postinst (diff)
downloadgentoo-ae4f6dc77756ea346a2578ae15316d07849ac4ac.tar.gz
gentoo-ae4f6dc77756ea346a2578ae15316d07849ac4ac.tar.bz2
gentoo-ae4f6dc77756ea346a2578ae15316d07849ac4ac.zip
media-libs/fontconfig: cleanup ROOT test
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild2
-rw-r--r--media-libs/fontconfig/fontconfig-2.13.93.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild b/media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild
index ddf062068696..b00c1b232b14 100644
--- a/media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild
+++ b/media-libs/fontconfig/fontconfig-2.13.1-r2.ebuild
@@ -170,7 +170,7 @@ pkg_postinst() {
readme.gentoo_print_elog
- if [[ ${ROOT} == "" ]]; then
+ if [[ -z ${ROOT} ]]; then
multilib_pkg_postinst() {
ebegin "Creating global font cache for ${ABI}"
"${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf
diff --git a/media-libs/fontconfig/fontconfig-2.13.93.ebuild b/media-libs/fontconfig/fontconfig-2.13.93.ebuild
index a47819b7d743..deaa7fcd009a 100644
--- a/media-libs/fontconfig/fontconfig-2.13.93.ebuild
+++ b/media-libs/fontconfig/fontconfig-2.13.93.ebuild
@@ -186,7 +186,7 @@ pkg_postinst() {
readme.gentoo_print_elog
- if [[ ${ROOT} == "" ]] ; then
+ if [[ -z ${ROOT} ]] ; then
multilib_pkg_postinst() {
ebegin "Creating global font cache for ${ABI}"
"${EPREFIX}"/usr/bin/${CHOST}-fc-cache -srf