Commit 54473683 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix bug introduced by 5c1e7c08

parent 394a2513
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -82,6 +82,9 @@ create_config()
}

setup_database() {
	local domain=${SITE_URL#*://}
	domain=${domain%%[:/]*}

	local admin_name=${SITE_ADMIN:-admin}
	local admin_email=${SITE_ADMIN_EMAIL:-admin@$domain}
	local admin_password=${SITE_ADMIN_PASSWORD-}
@@ -91,9 +94,6 @@ setup_database() {

	wp core is-installed && return

	local domain=${SITE_URL#*://}
	domain=${domain%%[:/]*}

	wp core install \
		--url="${SITE_URL%/}" \
		--title="${SITE_TITLE:-New Wordpress Site}" \