Commit 12a5f8db authored by Egor Kremnev's avatar Egor Kremnev

fix scripts

parent a01aa95a
...@@ -47,12 +47,6 @@ cd ${APPLICATION_ROOT_PATH} ...@@ -47,12 +47,6 @@ cd ${APPLICATION_ROOT_PATH}
mkdir -p ${DB_DUMP_DIR} mkdir -p ${DB_DUMP_DIR}
info "# Creating backup"
if [[ -f ${DB_PATH} ]]; then
info "# Put db to temporary stash"
cp ${DB_PATH} ${STASH_DB_PATH}
fi
if [ -f ${PROJECT_ROOT} ]; then if [ -f ${PROJECT_ROOT} ]; then
mkdir -p ${BACKUP_DIR_PATH} mkdir -p ${BACKUP_DIR_PATH}
mv ${PROJECT_ROOT} ${BACKUP_DIR_PATH} mv ${PROJECT_ROOT} ${BACKUP_DIR_PATH}
......
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