install.sh
This file
Path
install.sh
15 lines · 453 bytes · Shell
Last changed by
Fixed typo in install.shTj Holowaychukbefore adoption57fd2e6
History of this fileTake it
install.sh now installs connect as wellTj Holowaychukbefore adoptiond389134
lines 1–7why, one step back12install() {3 mkdir -p /tmp/$2 \4 && cd /tmp/$2 \5 && echo "... installing $2" \6 && curl -# -L "http://github.com/$1/$2/tarball/master" \7 | tar xz --strip 1 \Fixed typo in install.shTj Holowaychukbefore adoption57fd2e6
line 8why, one step back8 && mkdir -p ~/.node_libraries \install.sh now installs connect as wellTj Holowaychukbefore adoptiond389134
lines 9–15why, one step back9 && cp -fr lib/$2 ~/.node_libraries/$210}1112install visionmedia express \13 && install senchalabs connect \14 && cp -f /tmp/express/bin/express /usr/local/bin/express \15 && echo "... installation complete"