Commit 749c91ae authored by incardon's avatar incardon
Browse files

fixing update system

parent 779e1e3d
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment