pine64-pinephone: upower: replace config properly (MR 2205)

This commit is contained in:
Oliver Smith 2021-05-30 16:37:21 +02:00
parent ead17254db
commit 0b7e4d6371
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -5,7 +5,7 @@
# Co-Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=device-pine64-pinephone
pkgver=0.28
pkgrel=0
pkgrel=1
pkgdesc="PINE64 PinePhone"
url="https://postmarketos.org"
license="MIT"
@ -159,10 +159,10 @@ plasma_mobile() {
upower() {
install_if="$pkgname=$pkgver-r$pkgrel upower"
mkdir "$subpkgdir"
replaces="upower"
# Shutdown when PMIC reports critical battery level
install -Dm644 "$srcdir"/UPower.conf -t \
install -Dm644 "$srcdir"/UPower.conf \
"$subpkgdir"/etc/UPower/UPower.conf
}