#!/usr/bin/env bash

# install ac-node-modules
# if offline: check if already istalled

npm install github:oleics/ac-node-modules 2> /dev/null
if [ $? -eq 0 ]; then
  exit 0
elif [ -d "node_modules/ac-node-modules" ]; then
  exit 0
else
  echo "ERROR Could not install ac-node-modules." > /dev/stderr
  exit 1
fi
