summarylogtreecommitdiffstats
path: root/mycroft-core.install
blob: cbf6fedb90adf8dd42891af8421c3cc722aa50c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  echo "====>  Please add mycroft user to these groups"
  echo "====     sudo gpasswd -a mycroft audio"
  echo "====     sudo gpasswd -a mycroft dbus"
  echo "====     sudo gpasswd -a mycroft network"
  echo "====>  Add this line to /etc/default.pa PulseAudio file configuration and restart PulseAudio"
  echo "====     load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulse-socket"
  echo "====>  Finally run:"
  echo "====	 systemctl start mycroft.service"
}

post_upgrade() {
    post_install $1
}