blob: 6c71e9dba059d82240f4eed13c75c4ebca65abe2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
echo "====> Please add mycroft user to audio group"
echo "==== sudo gpassd -a mycroft audio"
echo "====> Add this line to your default.pa PulseAudio file configuration"
echo "==== load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse-socket"
echo "====> Read instructions under /usr/share/mycroft-core/pulseaudio-client.conf"
echo "====> Add this line into /etc/pulse/client.conf"
echo "==== autospawn=1"
echo "====> Finally run:"
echo "==== systemctl start mycroft.service"
}
post_upgrade() {
post_install $1
}
|