main/postmarketos-base-ui: install sleep-inhibitor for all init systems (MR 6051)

fixes #3462
This commit is contained in:
Clayton Craft
2025-01-15 16:23:26 +03:00
committed by Alexey Min
parent 53bbdfc14a
commit 79d223e80f
+3 -2
View File
@@ -1,7 +1,7 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=postmarketos-base-ui
pkgver=31
pkgrel=0
pkgrel=1
pkgdesc="Meta package for minimal postmarketOS UI base"
url="https://postmarketos.org"
arch="noarch"
@@ -16,6 +16,7 @@ depends="
postmarketos-artwork-icons
postmarketos-base
shadow
sleep-inhibitor
tzdata
util-linux
wireless-regdb
@@ -154,7 +155,7 @@ _openrc() {
elogind() {
install_if="$pkgname=$pkgver-r$pkgrel elogind"
install="$subpkgname.post-install"
depends="sleep-inhibitor !systemd-logind"
depends="!systemd-logind"
replaces="
elogind
sleep-inhibitor