diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 07:57:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-19 07:57:57 +0100 |
commit | 27f7ac2204449d9fc2137f442522b4fb10327d90 (patch) | |
tree | e0fa5de044037be9ff62dcb6bcc8dbeca087767d /eclass | |
parent | 84a400be40cf32d9e536ae34ebf14ad06ad6b8d6 (diff) |
gentoo auto-resync : 19:10:2022 - 07:57:56
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/Manifest.gz | bin | 37489 -> 37493 bytes | |||
-rw-r--r-- | eclass/font.eclass | 8 |
2 files changed, 5 insertions, 3 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz Binary files differindex 395abedfd847..8d8d0da0c692 100644 --- a/eclass/Manifest.gz +++ b/eclass/Manifest.gz diff --git a/eclass/font.eclass b/eclass/font.eclass index 83636ac3fed5..4970c959f7cd 100644 --- a/eclass/font.eclass +++ b/eclass/font.eclass @@ -186,9 +186,11 @@ font_src_install() { # @DESCRIPTION: # Updates fontcache if !prefix and media-libs/fontconfig installed _update_fontcache() { - # unreadable font files = fontconfig segfaults - find "${EROOT}"/usr/share/fonts/ -type f '!' -perm 0644 \ - -exec chmod -v 0644 2>/dev/null {} + || die "failed to fix font files perms" + if [[ -d "${EROOT}"/usr/share/fonts ]] ; then + # unreadable font files = fontconfig segfaults + find "${EROOT}"/usr/share/fonts/ -type f '!' -perm 0644 \ + -exec chmod -v 0644 2>/dev/null {} + || die "failed to fix font files perms" + fi if [[ -z ${ROOT} ]] ; then if has_version media-libs/fontconfig ; then |