Check success of database import

This commit is contained in:
Bob Mottram 2016-02-23 17:38:24 +00:00
parent 18d5f0971e
commit d0b310f50c
1 changed files with 3 additions and 0 deletions

View File

@ -9270,6 +9270,9 @@ function install_hubzilla {
exit 252782
fi
mysql -u root --password="$MARIADB_PASSWORD" -D hubzilla < $HUBZILLA_PATH/install/schema_mysql.sql
if [ ! "$?" = "0" ]; then
exit 62952
fi
# create the config file
echo '<?php' > $HUBZILLA_PATH/.htconfig.php