Permalink
Browse files

delete tmpdir when database migration is completed

  • Loading branch information...
serghey-rodin committed Apr 15, 2014
1 parent 263df1c commit be2d89fcb263d12a25937d5c979baf0d2643d02d
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/v-change-database-owner
@@ -103,6 +103,9 @@ case $TYPE in
pgsql) import_pgsql_database $dump ;;
esac

# Deleting tmpdir
rm -rf $tmpdir

# Remove old database
$BIN/v-unsuspend-database $owner $database > /dev/null 2>&1
$BIN/v-delete-database $owner $database > /dev/null 2>&1

0 comments on commit be2d89f

Please sign in to comment.