49 |
apt-get install curl || exit |
apt-get install curl || exit |
50 |
fi |
fi |
51 |
|
|
52 |
|
if [ ! -x "/usr/bin/gcc" ] ; then |
53 |
|
echo "installing build-essential" |
54 |
|
apt-get install build-essential || exit |
55 |
|
fi |
56 |
|
|
57 |
|
|
58 |
if [ ! -x "/usr/local/bin/n" ] ; then |
if [ ! -x "/usr/local/bin/n" ] ; then |
59 |
echo "installing node.js bootstrap" |
echo "installing node.js bootstrap" |
60 |
curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit |
curl -o /usr/local/bin/n https://raw.githubusercontent.com/visionmedia/n/master/bin/n || exit |