fix update command
This commit is contained in:
parent
72b023df56
commit
c8ccf02eab
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ do
|
|||
fi
|
||||
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"
|
||||
echo "OK"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue