Commit a0c9f781 authored by Panagiotis Skarvelis's avatar Panagiotis Skarvelis
Browse files

detect modules root

parent 118dfd10
#Used at post-installation to create fake modules if optionalDepenetdencies are not installed
[[ ! -f ./node_modules/pg-native/index.js ]] && bash -c "mkdir -p ./node_modules/pg-native && touch ./node_modules/pg-native/index.js" || exit 0
[[ ! -f `npm root`/pg-native/index.js ]] && bash -c "mkdir -p ./node_modules/pg-native && touch ./node_modules/pg-native/index.js" || exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment