diff options
author | Huang-Huang | 2021-02-12 18:38:46 +0800 |
---|---|---|
committer | Huang-Huang | 2021-02-12 18:38:46 +0800 |
commit | 37c71b3348ef95a23d66894cc7286d218e67a467 (patch) | |
tree | afd90d72f3a121c690c6bddde02b9bd2495709ae /pipewire.install | |
download | aur-37c71b3348ef95a23d66894cc7286d218e67a467.tar.gz |
Initial commit
Diffstat (limited to 'pipewire.install')
-rw-r--r-- | pipewire.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pipewire.install b/pipewire.install new file mode 100644 index 000000000000..416e5ed97a1d --- /dev/null +++ b/pipewire.install @@ -0,0 +1,14 @@ +post_install() { + # Enable socket by default + systemctl --global enable pipewire.socket +} + +post_upgrade() { + if (( $(vercmp $2 0.1.6-2) < 0)); then + systemctl --global enable pipewire.socket + fi +} + +pre_remove() { + systemctl --global disable pipewire.socket +} |