summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-10-02 10:58:58 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2021-10-02 10:59:10 +0200
commit54d9b288b40c29c2ab6ac0b1dcaafeb335757452 (patch)
tree4f59d4b591f98a33aeeb2c41d410bcadbe82ee98 /app-misc/linux-logo
parentnet-analyzer/wapiti: fix doc install path (diff)
downloadgentoo-54d9b288b40c29c2ab6ac0b1dcaafeb335757452.tar.gz
gentoo-54d9b288b40c29c2ab6ac0b1dcaafeb335757452.tar.bz2
gentoo-54d9b288b40c29c2ab6ac0b1dcaafeb335757452.zip
app-misc/linux-logo: fix compressed manpage install
Closes: https://bugs.gentoo.org/729430 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-misc/linux-logo')
-rw-r--r--app-misc/linux-logo/linux-logo-6.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-misc/linux-logo/linux-logo-6.0.ebuild b/app-misc/linux-logo/linux-logo-6.0.ebuild
index 5d00ccd57c2b..99142eb53efb 100644
--- a/app-misc/linux-logo/linux-logo-6.0.ebuild
+++ b/app-misc/linux-logo/linux-logo-6.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -33,6 +33,11 @@ src_prepare() {
cp "${FILESDIR}"/gentoo-*.logo "${S}"/logos/ || die
sed -e 's#=$(PREFIX)#=$(DESTDIR)$(PREFIX)#' -i po/Makefile || die
+
+ # Manpage is already gzipped in tarball
+ gunzip linux_logo.1.gz || die
+ sed -e "s/.1.gz/.1/g" -i Makefile || die
+
default
}