Skip to content

Commit 91309d9

Browse files
committed
Remove DB_FIRST_INSTALL environment variable
This was used for only setting default configuration on first installation, but irrelevant since 77932de.
1 parent 38f4b0c commit 91309d9

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sql/dj_setup_database.in

-4
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,7 @@ install-examples)
320320
install-loadtest)
321321
read_dbpasswords
322322
create_db_users
323-
export DB_FIRST_INSTALL=1
324323
symfony_console doctrine:migrations:migrate -n
325-
unset DB_FIRST_INSTALL
326324
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-default-data
327325
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-gatling-data
328326
;;
@@ -339,9 +337,7 @@ update-password)
339337
bare-install|install)
340338
read_dbpasswords
341339
create_db_users
342-
export DB_FIRST_INSTALL=1
343340
symfony_console doctrine:migrations:migrate -n
344-
unset DB_FIRST_INSTALL
345341
DBUSER=$domjudge_DBUSER PASSWD=$domjudge_PASSWD symfony_console domjudge:load-default-data
346342
if [ "$1" = "install" ]; then
347343
install_examples

0 commit comments

Comments
 (0)