cleaning up

This commit is contained in:
André Bauer 2016-12-20 13:51:56 +01:00
parent c08423c5ad
commit 35f7055917

View File

@ -7,9 +7,11 @@ GIT_BRANCH="develop"
#GIT_BRANCH="unicorn"
RAILS_SERVER="puma"
RAILS_ENV="production"
FRESH_INSTALL="no"
FRESH_INSTALL="yes"
DEBUG="no"
if [ "$1" = 'zammad' ]; then
export RAILS_ENV=${RAILS_ENV}
shopt -s dotglob
@ -19,8 +21,6 @@ if [ "${FRESH_INSTALL}" == "yes" ]; then
rm -rf ${ZAMMAD_DIR}/*
fi
if [ "$1" = 'zammad' ]; then
# get zammad
if [ -f ${ZAMMAD_DIR}/config/database.yml ]; then
echo "updating zammad..."