Skip to content
Permalink
Browse files

Updated homebridge version and removed nodejs version dependency

  • Loading branch information
ChrisHae committed Nov 7, 2019
1 parent 7dab708 commit f82336063ab109adf46b752b48391eb8a1527f7b
Showing with 7 additions and 7 deletions.
  1. +7 −7 linux/deCONZ/usr/bin/deCONZ-homebridge-install.sh
@@ -1,14 +1,14 @@
#!/bin/bash

UPDATE_VERSION_HB="0.4.50"
UPDATE_VERSION_HB_HUE="0.11.41"
UPDATE_VERSION_HB_LIB="4.4.6"
UPDATE_VERSION_HB_HUE="0.11.42"
UPDATE_VERSION_HB_LIB="4.4.7"
UPDATE_VERSION_NPM="6.9.0"
UPDATE_VERSION_NODE="10.16.3"
UPDATE_VERSION_NODE="12.13.0"
# use install name to install the specific node version via apt. Retrieve it via: apt-cache policy nodejs
UPDATE_VERSION_NODE_INSTALL_NAME="10.16.3-1nodesource1"
# UPDATE_VERSION_NODE_INSTALL_NAME="10.16.3-1nodesource1"
# when increasing major version of node adjust downoload link
NODE_DOWNLOAD_LINK="https://deb.nodesource.com/setup_10.x"
NODE_DOWNLOAD_LINK="https://deb.nodesource.com/setup_12.x"

TIMEOUT=0
LOG_LEVEL=3
@@ -177,7 +177,7 @@ function installHomebridge {
# else
curl -sL "$NODE_DOWNLOAD_LINK" | bash -
if [ $? -eq 0 ]; then
apt-get install -y nodejs="$UPDATE_VERSION_NODE_INSTALL_NAME"
apt-get install -y nodejs
if [ $? -ne 0 ]; then
[[ $LOG_WARN ]] && echo "${LOG_WARN}could not install nodejs"
putHomebridgeUpdated "homebridge" "install-error"
@@ -194,7 +194,7 @@ function installHomebridge {
if [ $? -eq 0 ]; then
curl -sL "$NODE_DOWNLOAD_LINK" | bash -
if [ $? -eq 0 ]; then
apt-get install -y nodejs="$UPDATE_VERSION_NODE_INSTALL_NAME"
apt-get install -y nodejs
if [ $? -ne 0 ]; then
[[ $LOG_WARN ]] && echo "${LOG_WARN}could not install nodejs"
putHomebridgeUpdated "homebridge" "install-error"

1 comment on commit f823360

@ebaauw

This comment has been minimized.

Copy link
Contributor

ebaauw commented on f823360 Nov 9, 2019

@ChrisHae , there's no more need to install homebridge-lib separately. It's once again listed as a regular dependency, since homebridge-hue@0.11.30.

Please sign in to comment.
You can’t perform that action at this time.