Skip to content
Snippets Groups Projects
Commit 749c91ae authored by Pietro Incardona's avatar Pietro Incardona
Browse files

fixing update system

parent 779e1e3d
No related branches found
No related tags found
No related merge requests found
......@@ -81,11 +81,8 @@ if [ x"$i_dir" == x"" ]; then
i_dir="$HOME"
fi
remove_old $i_dir
## Check and try to install the prerequisites
pre_req
if [ $update_openfpm -eq 1 -a $upgrade_openfpm -eq 1 ]; then
echo -e "\033[1;5;31m It is not possible to update and upgrade at the same time \033[0m"
......@@ -102,6 +99,12 @@ if [ $upgrade_openfpm -eq 1 ]; then
exit 0
fi
remove_old $i_dir
## Check and try to install the prerequisites
pre_req
## clone the dependencies
git submodule init
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment