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

Force dolibarr version

parent 21c46029
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,16 @@ current_version=`apt-cache policy dolibarr | grep Installed \
echo "Current version of Dolibarr: $current_version"
echo "Retrieving list of Dolibarr versions"
if [ "$1" == "force" ]
then
update_type="major"
num=''
else
update_type="minor"
num=$current_major
fi
url=`$DIR/getLastDolibarrDeb.sh $num`
last_ver=`echo $url | cut -d ' ' -f 2`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment