Remove any previous failed hubzilla install

This commit is contained in:
Bob Mottram 2018-02-18 11:43:44 +00:00
parent 81ecf3cb20
commit bc8666ad17
1 changed files with 5 additions and 0 deletions

View File

@ -335,6 +335,11 @@ function install_hubzilla {
function_check install_mariadb function_check install_mariadb
install_mariadb install_mariadb
if [ -d /var/www/$HUBZILLA_DOMAIN_NAME ]; then
rm -rf /var/www/$HUBZILLA_DOMAIN_NAME
drop_database hubzilla
fi
function_check get_mariadb_password function_check get_mariadb_password
get_mariadb_password get_mariadb_password