pmaports/device/device-xiaomi-santoni/device-xiaomi-santoni-nonfree-firmware.post-install
Danct12 861fb8e553
device-xiaomi-santoni: fix post-install script (!420)
[ci:skip-build]: already built successfully in CI

Signed-off-by: Danct12 <danct12@disroot.org>
2019-07-16 23:08:29 +02:00

6 lines
275 B
Bash

#!/bin/sh
# We make sure that tsched has not mentioned anywhere in the default PulseAudio config
if [ "$(grep -c tsched /etc/pulse/default.pa)" -lt "1" ]; then
sed -i 's/load-module module-udev-detect/load-module module-udev-detect tsched=0/g' /etc/pulse/default.pa
fi