Fix: Call prepare_deployment() to handle option 1 (install prerequisites)
The prepare_deployment() function was defined but never called, causing option 1 (Install Prerequisites) to not execute. Added the function call after the menu selection loop to properly handle special deployment modes.
This commit is contained in:
@@ -2355,6 +2355,9 @@ main() {
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
# Prepare deployment environment (handles special cases like prerequisites installation)
|
||||||
|
prepare_deployment
|
||||||
|
|
||||||
# Handle remote server deployment separately
|
# Handle remote server deployment separately
|
||||||
if [ "$DEPLOY_REMOTE_SERVER" = true ]; then
|
if [ "$DEPLOY_REMOTE_SERVER" = true ]; then
|
||||||
# Prompt for configuration values
|
# Prompt for configuration values
|
||||||
|
|||||||
Reference in New Issue
Block a user