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

fix path

parent 5dbde101
#Used at post-installation to create fake modules if optionalDepenetdencies are not installed
NPMROOT=`npm root`
[[ ! -f ${NPMROOT%%node_modules*}/pg-native/index.js ]] && bash -c "mkdir -p ${NPMROOT}/pg-native && touch ${NPMROOT}/pg-native/index.js" || exit 0
echo "check $PGNATIVEPATH for existance"
[[ ! -f $PGNATIVEPATH/index.js ]] && bash -c "mkdir -p ${PGNATIVEPATH} && touch ${PGNATIVEPATH}/index.js" && echo "${PGNATIVEPATH} created" || exit 0
Supports Markdown
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