mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
16 lines
378 B
Text
16 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
|
||
|
}
|