Update databasecheck.sh

add a needed fi