Skip to content
Snippets Groups Projects
Unverified Commit a0cc21b8 authored by Oliver Smith's avatar Oliver Smith Committed by Caleb Connolly
Browse files

systemd/systemd-services: fix install_if

It's important to use a versioned constraint so that if the
package is ever removed from the binary repository it will actually be
removed from the users system too.

Part-of: postmarketOS/pmaports!6347
[ci:skip-build]: already built successfully in CI
parent c3e868d0
No related branches found
No related tags found
1 merge request!6347systemd/pipewire: pulse-systemd: add install_if, fix install_if in systemd-services
Pipeline #217700 passed
......@@ -8,7 +8,7 @@
pkgname=systemd-services
# 1. bump pkgver
pkgver=63
pkgrel=0
pkgrel=1
pkgdesc="Systemd service files"
url="https://postmarketos.org"
arch="noarch"
......@@ -277,7 +277,7 @@ source="$(flatpath \
_service() {
local name=$(echo ${subpkgname%%-systemd})
local n=$(echo ${subpkgname%-systemd} | sed s/-/_/g)
install_if="$name systemd"
install_if="$pkname=$pkgver-r$pkgrel $name systemd"
for f in $(eval "echo \$_${n}_sources"); do
prefix="$subpkgdir"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment