From 90e9e4843d7d63c5e7fa1f5d6d6f4cc7350ce77c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 26 Sep 2022 21:08:42 +0100 Subject: gentoo auto-resync : 26:09:2022 - 21:08:42 --- net-wireless/uhd/uhd-4.3.0.0.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'net-wireless/uhd/uhd-4.3.0.0.ebuild') diff --git a/net-wireless/uhd/uhd-4.3.0.0.ebuild b/net-wireless/uhd/uhd-4.3.0.0.ebuild index 065339744a53..43bc62d7590a 100644 --- a/net-wireless/uhd/uhd-4.3.0.0.ebuild +++ b/net-wireless/uhd/uhd-4.3.0.0.ebuild @@ -38,7 +38,7 @@ RDEPEND="${PYTHON_DEPS} ') " DEPEND="${RDEPEND}" -#zip an gzip are directly used by the build system +#zip and gzip are directly used by the build system BDEPEND=" doc? ( app-doc/doxygen ) $(python_gen_cond_dep ' @@ -96,9 +96,11 @@ src_configure() { src_install() { cmake_src_install python_optimize - use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ - if [[ "${PV}" != "9999" ]]; then - rm -r "${ED}/usr/bin/uhd_images_downloader" || die + if use utils; then + python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/ + if [[ "${PV}" != "9999" ]]; then + rm -r "${ED}/usr/bin/uhd_images_downloader" || die + fi fi # do not install test files (bug #857492) if use test; then -- cgit v1.2.3