|
@@ -9,7 +9,7 @@ sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf
|
|
|
|
|
|
F3DIR="$TROOT/src"
|
|
|
|
|
|
-[[ ! -e "$F3DIR" ]] || rm -r "$F3DIR"
|
|
|
+[[ ! -e "$F3DIR" ]] || rm -rf "$F3DIR"
|
|
|
|
|
|
git clone "https://github.com/bcosca/fatfree-core.git" "$F3DIR"
|
|
|
pushd "$F3DIR" > /dev/null
|
|
@@ -17,4 +17,4 @@ git checkout -q "069ccd84afd2461c7ebb67f660c142f97577e661" # v3.5.2-dev
|
|
|
popd > /dev/null
|
|
|
|
|
|
php-fpm --fpm-config $FWROOT/config/php-fpm.conf -g $TROOT/deploy/php-fpm.pid
|
|
|
-nginx -c $TROOT/deploy/nginx.conf
|
|
|
+nginx -c $TROOT/deploy/nginx.conf
|