aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d/50_sdk
blob: 1a44fd9bbfe4c47dd3121298a516512a14c9c2c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# install specific scripts
mkdir -p /usr/local/bin
for x in $INSTDIR/tools/scripts_sdk/*; do
	install --mode=755 $x /usr/local/bin/
done

# install node.js and tools (npm, gulp, bower) if needed
if [[ -z $(which node) ]]; then
    curl -sL https://deb.nodesource.com/setup_6.x | bash -
    apt-get install nodejs
    npm install --global gulp bower
fi