Search
SailfishOS Open Build Service
>
Projects
>
home:fooxl
:
sailfish
>
pulseaudio-snapcast-config
> patch_default_pa.sh
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File patch_default_pa.sh of Package pulseaudio-snapcast-config
#!/bin/bash filename=$(grep CONFIG /etc/sysconfig/pulseaudio | cut -d '"' -f 2) filename=${filename#*--file=} if ! grep ".include /etc/pulse/snapcast.pa" $filename > /dev/null ; then echo "" >> $filename echo "#load configuration for snapcast" >> $filename echo ".ifexists /etc/pulse/snapcast.pa" >> $filename echo ".include /etc/pulse/snapcast.pa" >> $filename echo ".endif" >> $filename fi