Change 'npm link' to 'npm install'. It does the same but doesn't need root permissions and it's able to check which dependencies are already installed

This commit is contained in:
Peter 'Pita' Martischka 2011-06-23 11:34:57 +01:00
parent cc7ce0ca4c
commit 1f0353d680
2 changed files with 5 additions and 2 deletions

View file

@ -34,6 +34,9 @@ if [ ! -f "settings.json" ]; then
cp -v settings.json.template settings.json
fi
echo "Ensure that all dependencies are up to date..."
npm install
#Remove all minified data to force node creating it new
echo "Clear minfified cache..."
rm var/minified* 2> /dev/null