[MODIFIED] SE agrega instalación de deialog a bootstrap.sh

This commit is contained in:
Mauro Rosero P. 2024-12-04 14:41:34 -05:00
parent f2b042f42d
commit 84d19cfa11
Signed by: mrosero
GPG key ID: 83BD2A5F674B7E26
3 changed files with 16 additions and 5 deletions

View file

@ -53,7 +53,8 @@ install() {
local PYTHON_PACKAGE=python3 local PYTHON_PACKAGE=python3
local GIT_PACKAGE=git local GIT_PACKAGE=git
local CURL_PACKAGE=curl local CURL_PACKAGE=curl
local WGET_PACCKAGE=wget local WGET_PACKAGE=wget
local DIALOG_PACKAGE=dialog
# Load base bash library # Load base bash library
source $BIN_PATH/$LIBRARY/base.lib source $BIN_PATH/$LIBRARY/base.lib
@ -85,6 +86,13 @@ install() {
os_pkgs_install $GIT_PACKAGE os_pkgs_install $GIT_PACKAGE
fi 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 # Install python from OS Packages
command_installed $PYTHON_PACKAGE command_installed $PYTHON_PACKAGE
if [ $? -ne 0 ] if [ $? -ne 0 ]

View file

@ -17,7 +17,7 @@
# Debería haber recibido una copia de la Licencia Pública Affero General # Debería haber recibido una copia de la Licencia Pública Affero General
# junto con este programa. Si no la recibió, consulte <https://www.gnu.org/licenses/>. # junto con este programa. Si no la recibió, consulte <https://www.gnu.org/licenses/>.
# Install Python # Install python3 package
function python3_install() { function python3_install() {
echo "${pymsg_001}" echo "${pymsg_001}"
@ -46,7 +46,7 @@ function python3_install() {
} }
# Install Podman # Install podman package
function podman_install() { function podman_install() {
echo "${pdmsg_001}" echo "${pdmsg_001}"

View file

@ -13,8 +13,11 @@
bomsg_000="Bootstrap" bomsg_000="Bootstrap"
pymsg_001="Instalando Python3" pymsg_001="Instalando python3"
pymsg_003="Python instalado satisfactoriamente" pymsg_002="Instalando dialog"
pymsg_003="Python3 instalado satisfactoriamente"
pymsg_004="Dialog instalado satisfactoriamente"
pdmsg_001="Instalando Podman..." pdmsg_001="Instalando Podman..."
pdmsg_003="Podman fue instalado satisfactoriamente" pdmsg_003="Podman fue instalado satisfactoriamente"