[FIXED] Corrección menor para mostrar la versión de odoo del pack utilizado en la creación del proyecto

This commit is contained in:
Mauro Rosero P. 2024-12-03 11:12:03 -05:00
parent 56770254a1
commit 130618e05c
Signed by: mrosero
GPG key ID: 83BD2A5F674B7E26
2 changed files with 2 additions and 4 deletions

View file

@ -48,8 +48,6 @@ function display_text_header() {
echo "=========================================================="
}
# Verify if your program or command is installed
function command_installed() {
local PROGRAM=$1

View file

@ -151,9 +151,9 @@ function copy_odooapps() {
cp -rf $ODOO_PATH/$ODOO_CFG_PACK/${ODOO_CFG_PREF}${VERSION}/${APPS} "$ODOO_PATH/$ODOO_PROJ/$ODOO_APP/"
if [ $? -eq 0 ]
then
echo "[x] $odmsg_012_1 $APPS $odmsg_012_2"
echo "[x] $odmsg_012_1 v$VERSION $APPS $odmsg_012_2"
else
echo "[-] $odmsg_012_1 $APPS $odmsg_012_3"
echo "[-] $odmsg_012_1 v$VERSION $APPS $odmsg_012_3"
fi
}