From 86a3bb3908ea38fba12116fe5bbeade5fa7ccf55 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
Date: Sat, 28 Sep 2024 13:03:10 +0200
Subject: [PATCH] main/postmarketos-base-ui: fix install_if in
 iwd/wpa_supplicant openrc (MR 5647)

The iwd and wpa_supplicant subpackages have a wifi prefix that was
overlooked.

Fixes #3216
[ci:skip-build]: already built successfully in CI
---
 main/postmarketos-base-ui/APKBUILD | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main/postmarketos-base-ui/APKBUILD b/main/postmarketos-base-ui/APKBUILD
index bf3785604ff..fed4fdfca44 100644
--- a/main/postmarketos-base-ui/APKBUILD
+++ b/main/postmarketos-base-ui/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Clayton Craft <clayton@craftyguy.net>
 pkgname=postmarketos-base-ui
 pkgver=28
-pkgrel=2
+pkgrel=3
 pkgdesc="Meta package for minimal postmarketOS UI base"
 url="https://postmarketos.org"
 arch="noarch"
@@ -238,7 +238,7 @@ wpa_supplicant() {
 }
 
 wpa_supplicant_openrc() {
-	install_if="$pkgname-wpa_supplicant=$pkgver-r$pkgrel openrc"
+	install_if="$pkgname-wifi-wpa_supplicant=$pkgver-r$pkgrel openrc"
 	install="$subpkgname.post-install $subpkgname.post-upgrade"
 
 	depends="wpa_supplicant-openrc openrc"
@@ -261,7 +261,7 @@ iwd() {
 }
 
 iwd_openrc() {
-	install_if="$pkgname-iwd=$pkgver-r$pkgrel openrc"
+	install_if="$pkgname-wifi-iwd=$pkgver-r$pkgrel openrc"
 	install="$subpkgname.post-install $subpkgname.post-upgrade"
 
 	depends="iwd-openrc openrc"
-- 
GitLab