diff --git a/scripts/install-node b/scripts/install-node index 7eb9a78..da509a3 100755 --- a/scripts/install-node +++ b/scripts/install-node @@ -6,8 +6,6 @@ NODE_INSTALL_VERSION=${1:-7.x} YARN_INSTALL_VERSION=${2:-0.27.5-1} # Map MAJOR.MINOR.patch -> MAJOR.x -# -# NODE_INSTALL_VERSION may resolve to the full version if inside a node container image. NODE_INSTALL_VERSION=`echo $NODE_INSTALL_VERSION | sed -r -e "s/([0-9]+)\.[0-9]+.*/\1\.x/g"` # add official debian repos for node and yarn