fix snips assistant (#223)

* fix snips assistant

* Update config.json

* Create CHANGELOG.md
This commit is contained in:
Pascal Vizeli
2018-01-10 13:23:15 +01:00
committed by GitHub
parent 9e589a0d5e
commit 3b7b657f95
3 changed files with 6 additions and 2 deletions

4
snips/CHANGELOG.md Normal file
View File

@@ -0,0 +1,4 @@
# Changelog
## 0.6.5-p1
- Bugfix wrong path to assistant files

View File

@@ -1,6 +1,6 @@
{
"name": "Snips.AI",
"version": "0.6.5",
"version": "0.6.5-p1",
"slug": "snips",
"description": "Local voice control platform",
"url": "https://home-assistant.io/addons/snips/",

View File

@@ -48,12 +48,12 @@ mosquitto -c /etc/mosquitto.conf &
# init snips config
mkdir -p "$SNIPS_CONFIG"
ln -s "$SNIPS_CONFIG/" "/opt/snips/config"
# check if a new assistant file exists
if [ -f "/share/$ASSISTANT" ]; then
echo "[Info] Install/Update snips assistant"
unzip -o -u "/share/$ASSISTANT" -d "$SNIPS_CONFIG"
fi
ln -s "$SNIPS_CONFIG/assistant/" /usr/share/snips/assistant
/opt/snips/snips-entrypoint.sh --mqtt localhost:1883