fix update command

This commit is contained in:
Pascal Vizeli 2017-04-26 13:11:55 +02:00
parent 72b023df56
commit c8ccf02eab

View file

@ -51,7 +51,8 @@ do
fi fi
CMD_BIN=$(command -v hassio-hc) CMD_BIN=$(command -v hassio-hc)
if [ curl -sL "$URL_GENERIC_HC/$VERSION" > "$CMD_BIN" ]; then curl -sL "$URL_GENERIC_HC/$VERSION" > "$CMD_BIN"
if [ $? -eq 0 ]; then
chmod a+x "$CMD_BIN" chmod a+x "$CMD_BIN"
echo "OK" echo "OK"