commit: 2d82c469970eaaa16e1bfc850962d1eae95d39e5 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Thu Oct 15 23:05:06 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Thu Oct 15 23:05:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d82c469
media-sound/xmms2: handle case of no man pages installed Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/749312 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> media-sound/xmms2/xmms2-0.8_p20161122-r8.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/media-sound/xmms2/xmms2-0.8_p20161122-r8.ebuild b/media-sound/xmms2/xmms2-0.8_p20161122-r8.ebuild index 12fa7d074dc..cf73e97d13f 100644 --- a/media-sound/xmms2/xmms2-0.8_p20161122-r8.ebuild +++ b/media-sound/xmms2/xmms2-0.8_p20161122-r8.ebuild @@ -308,8 +308,11 @@ src_install() { # to avoid code changed let's just un-gzip manpages local m for m in "${ED}"/usr/share/man/man1/*.gz; do - einfo "Uncompressing '${m#${ED}}' back." - gzip -d "${m}" || die + # For some combination of USEs no mans are installed. + if [[ -f $m ]]; then + einfo "Uncompressing '${m#${ED}}' back." + gzip -d "${m}" || die + fi done }
