packages+=("wheezy:::curl:::npm") packages+=("nodejs") repos+=("Ubuntu:::universe") repos+=("wheezy:::'deb http://ftp.is.debian.org/debian wheezy-backports main'") commands+=("wheezy:::update-alternatives --install /usr/bin/node nodejs /usr/bin/nodejs 100") commands+=("wheezy:::curl https://www.npmjs.com/install.sh | sh") commands+=("npm install -g cordova") if test -n "${ANDROID_HOME}"; then envs+=("-e ANDROID_HOME=${ANDROID_HOME}") dirs+=("-v ${ANDROID_HOME}:${ANDROID_HOME}:ro") fi