summaryrefslogtreecommitdiffstats
path: root/debian/pipewire.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pipewire.postinst')
-rw-r--r--debian/pipewire.postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/pipewire.postinst b/debian/pipewire.postinst
new file mode 100644
index 0000000..0c70670
--- /dev/null
+++ b/debian/pipewire.postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = "configure" ] ; then
+ # Create the pipewire system group for setting real-time priority limits
+ if ! getent group pipewire > /dev/null; then
+ addgroup --quiet --system pipewire
+ fi
+fi
+
+#DEBHELPER#