e350b00b9b
We don't want executable APKBUILDs, deviceinfo files, etc in pmaports. Remove the executable bit from those files. [ci:skip-build] [ci:skip-vercheck]
17 lines
374 B
Bash
17 lines
374 B
Bash
#!/bin/sh
|
|
# pulseaudio default config file name
|
|
DEFAULT_PA=/etc/pulse/default.pa
|
|
# configuration lines
|
|
PA_LINES="
|
|
.ifexists /etc/pulse/arm_droid_card_custom.pa
|
|
.include /etc/pulse/arm_droid_card_custom.pa
|
|
.else
|
|
load-module module-droid-card
|
|
.endif
|
|
"
|
|
|
|
if [ -f ${DEFAULT_PA} ]; then
|
|
if ! grep -q "module-droid-card" $DEFAULT_PA; then
|
|
echo "$PA_LINES" >> $DEFAULT_PA
|
|
fi
|
|
fi
|