From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1553016-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id ED046158089
	for <garchives@archives.gentoo.org>; Fri,  8 Sep 2023 23:31:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 32C082BC026;
	Fri,  8 Sep 2023 23:31:14 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 1728C2BC026
	for <gentoo-commits@lists.gentoo.org>; Fri,  8 Sep 2023 23:31:14 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 18ADE335C2E
	for <gentoo-commits@lists.gentoo.org>; Fri,  8 Sep 2023 23:31:13 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 98C7D1143
	for <gentoo-commits@lists.gentoo.org>; Fri,  8 Sep 2023 23:31:11 +0000 (UTC)
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" <conikost@gentoo.org>
Message-ID: <1694215860.8df0b918c9b31d2c01e045d72d3bd63486d71fd9.conikost@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/unifi/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-wireless/unifi/unifi-7.5.174.ebuild
X-VCS-Directories: net-wireless/unifi/
X-VCS-Committer: conikost
X-VCS-Committer-Name: Conrad Kostecki
X-VCS-Revision: 8df0b918c9b31d2c01e045d72d3bd63486d71fd9
X-VCS-Branch: master
Date: Fri,  8 Sep 2023 23:31:11 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6b703541-769b-4805-9de0-26250bf5cca5
X-Archives-Hash: 2566acd07b892095530a991f1f7ddb6e

commit:     8df0b918c9b31d2c01e045d72d3bd63486d71fd9
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  8 23:30:28 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Sep  8 23:31:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8df0b918

net-wireless/unifi: fix install

Closes: https://bugs.gentoo.org/913875
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-wireless/unifi/unifi-7.5.174.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/net-wireless/unifi/unifi-7.5.174.ebuild b/net-wireless/unifi/unifi-7.5.174.ebuild
index 2551b72faa0e..da37d1d5280e 100644
--- a/net-wireless/unifi/unifi-7.5.174.ebuild
+++ b/net-wireless/unifi/unifi-7.5.174.ebuild
@@ -35,13 +35,10 @@ QA_PREBUILT="usr/lib/unifi/lib/native/Linux/x86_64/*.so"
 
 src_prepare() {
 	if [[ ${CHOST} != aarch64* ]]; then
-		rm -r lib/native/Linux/aarch64 || die "Failed in removing aarch64 native libraries"
-	fi
-	if [[ ${CHOST} != armv7* ]]; then
-		rm -r lib/native/Linux/armv7 || die "Failed in removing armv7 native libraries"
+		rm -r lib/native/Linux/aarch64 || die
 	fi
 	if [[ ${CHOST} != x86_64* ]]; then
-		rm -r lib/native/Linux/x86_64 || die "Failed in removing x86_64 native libraries"
+		rm -r lib/native/Linux/x86_64 || die
 	fi
 
 	if [[ ${CHOST} == aarch64* ]]; then
@@ -49,11 +46,6 @@ src_prepare() {
 			rm lib/native/Linux/aarch64/libubnt_sdnotify_jni.so || die
 		fi
 	fi
-	if [[ ${CHOST} == armv7* ]]; then
-		if ! use systemd; then
-			rm lib/native/Linux/armv7/libubnt_sdnotify_jni.so || die
-		fi
-	fi
 	if [[ ${CHOST} == x86_64* ]]; then
 		if ! use systemd; then
 			rm lib/native/Linux/x86_64/libubnt_sdnotify_jni.so || die