From 84d19cfa110d7ac50dede44d5c77406437512a56 Mon Sep 17 00:00:00 2001 From: Mauro Rosero P Date: Wed, 4 Dec 2024 14:41:34 -0500 Subject: [PATCH] =?UTF-8?q?[MODIFIED]=20SE=20agrega=20instalaci=C3=B3n=20d?= =?UTF-8?q?e=20deialog=20a=20bootstrap.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/bootstrap.sh | 10 +++++++++- bin/lib/bootstrap.lib | 4 ++-- bin/msg/bootstrap.es | 7 +++++-- 3 files changed, 16 insertions(+), 5 deletions(-) diff --git a/bin/bootstrap.sh b/bin/bootstrap.sh index 85ef9e8..202729e 100755 --- a/bin/bootstrap.sh +++ b/bin/bootstrap.sh @@ -53,7 +53,8 @@ install() { local PYTHON_PACKAGE=python3 local GIT_PACKAGE=git local CURL_PACKAGE=curl - local WGET_PACCKAGE=wget + local WGET_PACKAGE=wget + local DIALOG_PACKAGE=dialog # Load base bash library source $BIN_PATH/$LIBRARY/base.lib @@ -85,6 +86,13 @@ install() { os_pkgs_install $GIT_PACKAGE fi + # Install dialog from OS Packages + command_installed $DIALOG_PACKAGE + if [ $? -ne 0 ] + then + os_pkgs_install $DIALOG_PACKAGE + fi + # Install python from OS Packages command_installed $PYTHON_PACKAGE if [ $? -ne 0 ] diff --git a/bin/lib/bootstrap.lib b/bin/lib/bootstrap.lib index feec5a8..399892c 100755 --- a/bin/lib/bootstrap.lib +++ b/bin/lib/bootstrap.lib @@ -17,7 +17,7 @@ # Debería haber recibido una copia de la Licencia Pública Affero General # junto con este programa. Si no la recibió, consulte . -# Install Python +# Install python3 package function python3_install() { echo "${pymsg_001}" @@ -46,7 +46,7 @@ function python3_install() { } -# Install Podman +# Install podman package function podman_install() { echo "${pdmsg_001}" diff --git a/bin/msg/bootstrap.es b/bin/msg/bootstrap.es index b63c299..e4868f2 100644 --- a/bin/msg/bootstrap.es +++ b/bin/msg/bootstrap.es @@ -13,8 +13,11 @@ bomsg_000="Bootstrap" -pymsg_001="Instalando Python3" -pymsg_003="Python instalado satisfactoriamente" +pymsg_001="Instalando python3" +pymsg_002="Instalando dialog" + +pymsg_003="Python3 instalado satisfactoriamente" +pymsg_004="Dialog instalado satisfactoriamente" pdmsg_001="Instalando Podman..." pdmsg_003="Podman fue instalado satisfactoriamente"