Commit 10ba9de2 authored by Panagiotis Skarvelis's avatar Panagiotis Skarvelis
Browse files

add info

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