Skip to content

Commit

Permalink
Update bitnami/mediawiki/1/debian-12/rootfs/opt/bitnami/scripts/libme…
Browse files Browse the repository at this point in the history
…diawiki.sh


Thanks for the suggestions

Co-authored-by: David Gomez <davidbhlm@gmail.com>
Signed-off-by: Iain MacDonald <151295347+iain-ilearner@users.noreply.github.com>
  • Loading branch information
iain-ilearner and dgomezleon authored May 6, 2024
1 parent 92bc041 commit 79ff6eb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,11 @@ mediawiki_initialize() {
mediawiki_wait_for_db_connection "$db_host" "$db_port" "$db_name" "$db_user" "$db_pass"
# Perform MediaWiki database schema upgrade
info "Performing database schema upgrade if needed"
update_args=""
local -a update_args=()
if is_boolean_yes "$MEDIAWIKI_SKIP_CONFIG_VALIDATION"; then
update_args+=" --skip-config-validation"
update_args+=( "--skip-config-validation" )
fi
debug_execute php "${MEDIAWIKI_BASE_DIR}/maintenance/update.php" $update_args
debug_execute php "${MEDIAWIKI_BASE_DIR}/maintenance/update.php" "${update_args[@]}"
fi

# Avoid exit code of previous commands to affect the result of this function
Expand Down

0 comments on commit 79ff6eb

Please sign in to comment.