7 lines
105 B
Plaintext
7 lines
105 B
Plaintext
|
#!/bin/bash
|
||
|
DIR=$(dirname "$0")
|
||
|
DATA_DIR="$DIR/data/$(hostname)"
|
||
|
cd $DATA_DIR
|
||
|
npm install --save $1
|
||
|
cd -
|