commit:     9f8d422362e2ef012b66a5f0e581cfd22812f492
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 03:23:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 03:27:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f8d4223

app-misc/socnetv: don't call doman on compressed file

Closes: https://bugs.gentoo.org/619936
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/socnetv/{socnetv-2.2.ebuild => socnetv-2.2-r1.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-misc/socnetv/socnetv-2.2.ebuild 
b/app-misc/socnetv/socnetv-2.2-r1.ebuild
similarity index 87%
rename from app-misc/socnetv/socnetv-2.2.ebuild
rename to app-misc/socnetv/socnetv-2.2-r1.ebuild
index 21357723af64..3c0c8c58f078 100644
--- a/app-misc/socnetv/socnetv-2.2.ebuild
+++ b/app-misc/socnetv/socnetv-2.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -38,5 +38,7 @@ src_install() {
                insinto /usr/share/${PN}/examples
                doins nets/*
        fi
-       doman "${S}/man/${PN}.1.gz"
+
+       gzip -d "${S}"/man/${PN}.1.gz || die
+       doman "${S}"/man/${PN}.1
 }

Reply via email to