[FIXED] Corregir errores en script standardize_scripts.sh
- Reemplazar llamadas a funciones inexistentes dialog_msg_box y dialog_info_box - Usar la función dialog_error_box para todos los mensajes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
d405113803
commit
64c32003fe
1 changed files with 3 additions and 3 deletions
|
@ -211,7 +211,7 @@ standardize_variables() {
|
||||||
|
|
||||||
# Función principal
|
# Función principal
|
||||||
main() {
|
main() {
|
||||||
dialog_msg_box "$title" "${head_info}: ${head_002} $BIN_HOME/$BIN_BASE"
|
dialog_error_box "$title" "${head_info}: ${head_002} $BIN_HOME/$BIN_BASE"
|
||||||
|
|
||||||
# Verificar que existe la plantilla de encabezado
|
# Verificar que existe la plantilla de encabezado
|
||||||
if [ ! -f "$HEADER_TEMPLATE" ]; then
|
if [ ! -f "$HEADER_TEMPLATE" ]; then
|
||||||
|
@ -229,7 +229,7 @@ main() {
|
||||||
local total_scripts=$(find "$BIN_HOME/$BIN_BASE" -name "*.sh" | wc -l)
|
local total_scripts=$(find "$BIN_HOME/$BIN_BASE" -name "*.sh" | wc -l)
|
||||||
local current=0
|
local current=0
|
||||||
|
|
||||||
dialog_info_box "$title" "${head_info}: ${head_container} $total_scripts"
|
dialog_error_box "${head_info}" "${head_container} $total_scripts"
|
||||||
|
|
||||||
# Recorrer todos los scripts .sh en el directorio bin
|
# Recorrer todos los scripts .sh en el directorio bin
|
||||||
for script in "$BIN_HOME/$BIN_BASE"/*.sh; do
|
for script in "$BIN_HOME/$BIN_BASE"/*.sh; do
|
||||||
|
@ -258,7 +258,7 @@ main() {
|
||||||
echo " ✓ ${head_create}: $(basename "$script")"
|
echo " ✓ ${head_create}: $(basename "$script")"
|
||||||
done
|
done
|
||||||
|
|
||||||
dialog_info_box "$title" "${head_builded} $current ${head_container}.\n\n${head_version}.bak"
|
dialog_error_box "${head_info}" "${head_builded} $current ${head_container}.\n\n${head_version}.bak"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Ejecutar función principal
|
# Ejecutar función principal
|
||||||
|
|
Loading…
Reference in a new issue