1
0
mirror of https://github.com/dokku/buildpack-nginx.git synced 2024-12-26 05:55:24 +00:00

Fix if statement

This commit is contained in:
Jose Diaz-Gonzalez 2016-09-20 00:49:04 -06:00
parent c4ad67f9de
commit aa23156a8e

View File

@ -133,6 +133,7 @@ cd $CUR_DIR
if [ -f $BUILD_DIR/app-nginx.conf.sigil ] ; then if [ -f $BUILD_DIR/app-nginx.conf.sigil ] ; then
echo "-----> using user provided app-nginx.conf.sigil" echo "-----> using user provided app-nginx.conf.sigil"
cp $BUILD_DIR/app-nginx.conf.sigil $BUILD_DIR/nginx/nginx.conf.sigil cp $BUILD_DIR/app-nginx.conf.sigil $BUILD_DIR/nginx/nginx.conf.sigil
fi
# Allow deprecated nginx.conf.erb # Allow deprecated nginx.conf.erb
if [ -f $BUILD_DIR/nginx.conf.erb ] ; then if [ -f $BUILD_DIR/nginx.conf.erb ] ; then