Skip to content
Snippets Groups Projects
Verified Commit efce70fc authored by David Beniamine's avatar David Beniamine
Browse files

Do not install DOlibarr x.0.0

parent e8aac544
Branches
No related tags found
No related merge requests found
......@@ -47,6 +47,11 @@ last_ver=`echo $url | cut -d ' ' -f 2`
url=`echo $url | cut -d ' ' -f 1`
if [ "$current_major" != "`echo $last_ver | cut -d . -f 1`" ]
then
if [ "`echo $last_ver | cut -d . -f 2-3`" == "0.0" ]
then
echo "Not installing version $last_ver, waiting for .1 release"
exit
fi
# Force interaction on major version upgrade
read -p "Are you sure you want to upgrade from $current_version to $last_ver [y/N]" answer
if [ "$answer" != "y" ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment