release: sync public installer asset install.sh
This commit is contained in:
+2
-2
@@ -1224,13 +1224,13 @@ run_migration() {
|
||||
chmod 600 "$migration_log"
|
||||
if (( EXISTING_DB )); then
|
||||
export XYMEDIA_EXTERNAL_MIGRATION_CONFIRM=YES
|
||||
if "${COMPOSE[@]}" --profile migration --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" "${COMPOSE_FUSE[@]}" run --rm -T --no-deps app-migrate migrate --config /app/config.yaml >"$migration_log" 2>&1; then
|
||||
if "${COMPOSE[@]}" --profile migration --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" "${COMPOSE_FUSE[@]}" run --rm -T --no-deps app-migrate migrate --config /app/config.yaml </dev/null >"$migration_log" 2>&1; then
|
||||
migration_rc=0
|
||||
else
|
||||
migration_rc=$?
|
||||
fi
|
||||
else
|
||||
if "${COMPOSE[@]}" --profile migration --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" "${COMPOSE_FUSE[@]}" run --rm -T --no-deps app-migrate migrate --new --config /app/config.yaml >"$migration_log" 2>&1; then
|
||||
if "${COMPOSE[@]}" --profile migration --project-directory "$INSTALL_DIR" --env-file "$INSTALL_DIR/.env" -f "$INSTALL_DIR/compose.yaml" "${COMPOSE_FUSE[@]}" run --rm -T --no-deps app-migrate migrate --new --config /app/config.yaml </dev/null >"$migration_log" 2>&1; then
|
||||
migration_rc=0
|
||||
else
|
||||
migration_rc=$?
|
||||
|
||||
Reference in New Issue
Block a user