release: sync public installer asset install.sh
This commit is contained in:
+2
-2
@@ -1224,13 +1224,13 @@ run_migration() {
|
|||||||
chmod 600 "$migration_log"
|
chmod 600 "$migration_log"
|
||||||
if (( EXISTING_DB )); then
|
if (( EXISTING_DB )); then
|
||||||
export XYMEDIA_EXTERNAL_MIGRATION_CONFIRM=YES
|
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
|
migration_rc=0
|
||||||
else
|
else
|
||||||
migration_rc=$?
|
migration_rc=$?
|
||||||
fi
|
fi
|
||||||
else
|
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
|
migration_rc=0
|
||||||
else
|
else
|
||||||
migration_rc=$?
|
migration_rc=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user