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"