Skip to content
Myr

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 file

Take it

install.sh now installs connect as wellTj Holowaychukbefore adoptiond389134

lines 1–7why, one step back
1
2install() {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 back
8 && mkdir -p ~/.node_libraries \

install.sh now installs connect as wellTj Holowaychukbefore adoptiond389134

lines 9–15why, one step back
9 && cp -fr lib/$2 ~/.node_libraries/$2
10}1112install visionmedia express \13 && install senchalabs connect \14 && cp -f /tmp/express/bin/express /usr/local/bin/express \15 && echo "... installation complete"