diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-10-16 00:05:06 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-10-16 00:05:06 +0100 |
commit | 2d82c469970eaaa16e1bfc850962d1eae95d39e5 (patch) | |
tree | 090640914caa60816d221a604d3fd036b071bb47 /media-sound | |
parent | dev-libs/libevdev: Drop old versions (diff) | |
download | gentoo-2d82c469970eaaa16e1bfc850962d1eae95d39e5.tar.gz gentoo-2d82c469970eaaa16e1bfc850962d1eae95d39e5.tar.bz2 gentoo-2d82c469970eaaa16e1bfc850962d1eae95d39e5.zip |
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@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/xmms2/xmms2-0.8_p20161122-r8.ebuild | 7 |
1 files 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 12fa7d074dc4..cf73e97d13fd 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 } |