Skip to content

Commit

Permalink
Forced server script file to be executable
Browse files Browse the repository at this point in the history
  • Loading branch information
Luciano Mammino committed Jan 13, 2015
1 parent c97700d commit 97cf4ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#variables
VERSION="1.0.0"
VERSION="1.1.1"
SOURCE=$(dirname ${BASH_SOURCE[0]})
INITSCRIPT="$SOURCE/prerender.init"
SERVERSCRIPT=""
Expand Down Expand Up @@ -144,6 +144,7 @@ if [ -e "$SERVERSCRIPT" ]; then
DEFAULTSCRIPT="$NODE_PREFIX/lib/node_modules/prerender/server.js"
mv $DEFAULTSCRIPT "$DEFAULTSCRIPT.bak"
cp $SERVERSCRIPT $DEFAULTSCRIPT
chmod +x $DEFAULTSCRIPT;
echo " ${bold}${normal} Server script copied to ${DEFAULTSCRIPT}" 1>&3 2>&4
fi

Expand Down

0 comments on commit 97cf4ed

Please sign in to comment.