mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
15 lines
378 B
Text
15 lines
378 B
Text
post_install() {
|
|
# Enable service by default
|
|
# WantedBy=pipewire.service, which is itself socket-activated
|
|
systemctl --global enable pipewire-media-session.service
|
|
}
|
|
|
|
post_upgrade() {
|
|
if (( $(vercmp $2 0.3.23-1) < 0)); then
|
|
systemctl --global enable pipewire-media-session.service
|
|
fi
|
|
}
|
|
|
|
pre_remove() {
|
|
systemctl --global disable pipewire-media-session.service
|
|
}
|