aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL/tasks.d/50_sdk
blob: bda15f594f1063f55be875d7ce5b8d29a8fa80dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 -v --connect-timeout 60 --retry 3 -sL https://deb.nodesource.com/setup_8.x | bash -
    apt-get install -y nodejs
    # issue SPEC-979
    # this install fails with timeout for unknown reason - let's comment it
    #npm install --global gulp bower
fi