Skip to content

Commit 2761d01

Browse files
committed
Add more logging on odoo-helper installation
1 parent b406af3 commit 2761d01

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

install-system.bash

+3
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,13 @@ ODOO_HELPER_BIN=${ODOO_HELPER_BIN:-$INSTALL_PATH/bin};
4949

5050
# clone repo
5151
if [ ! -d $INSTALL_PATH ]; then
52+
echo -e "${BLUEC}INFO${NC}: clonning odoo-helper-scripts...${NC}";
5253
git clone --recurse-submodules -q https://gitlab.com/katyukha/odoo-helper-scripts $INSTALL_PATH;
54+
echo -e "${BLUEC}INFO${NC}: fetching submodules...${NC}";
5355
(cd $INSTALL_PATH && git checkout -q $ODOO_HELPER_BRANCH && git submodule init && git submodule update);
5456
# TODO: may be it is good idea to pull changes from repository if it is already exists?
5557
# TODO: implement here some sort of upgrade mechanism?
58+
echo -e "${GREENC}OK${NC}: odoo-helper-scripts successfully clonned${NC}";
5659
fi
5760

5861
# install odoo-helper user config

install-user.bash

+3
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,13 @@ ODOO_HELPER_BIN=${ODOO_HELPER_BIN:-$INSTALL_PATH/bin};
5252

5353
# clone repo
5454
if [ ! -d $INSTALL_PATH ]; then
55+
echo -e "${BLUEC}INFO${NC}: clonning odoo-helper-scripts...${NC}";
5556
git clone --recurse-submodules -q https://gitlab.com/katyukha/odoo-helper-scripts $INSTALL_PATH;
57+
echo -e "${BLUEC}INFO${NC}: fetching submodules...${NC}";
5658
(cd $INSTALL_PATH && git checkout -q $ODOO_HELPER_BRANCH && git submodule init && git submodule update);
5759
# TODO: may be it is good idea to pull changes from repository if it is already exists?
5860
# TODO: implement here some sort of upgrade mechanism?
61+
echo -e "${GREENC}OK${NC}: odoo-helper-scripts successfully clonned${NC}";
5962
fi
6063

6164
# install odoo-helper user config

0 commit comments

Comments
 (0)