Skip to content
Snippets Groups Projects
Commit 6169b63e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

For patch release

parent e48e9643
Branches
Tags
No related merge requests found
...@@ -55,7 +55,7 @@ $VERSION="1.0 (build $REVISION)"; ...@@ -55,7 +55,7 @@ $VERSION="1.0 (build $REVISION)";
($DIR=$0) =~ s/([^\/\\]+)$//; ($PROG=$1) =~ s/\.([^\.]*)$//; $Extension=$1; ($DIR=$0) =~ s/([^\/\\]+)$//; ($PROG=$1) =~ s/\.([^\.]*)$//; $Extension=$1;
$DIR||='.'; $DIR =~ s/([^\/\\])[\\\/]+$/$1/; $DIR||='.'; $DIR =~ s/([^\/\\])[\\\/]+$/$1/;
$SOURCE="$DIR/../../dolibarr"; $SOURCE="$DIR/..";
$DESTI="$SOURCE/build"; $DESTI="$SOURCE/build";
# Detect OS type # Detect OS type
......
...@@ -273,7 +273,9 @@ else ...@@ -273,7 +273,9 @@ else
{ {
$versionfrom=$migarray['from']; $versionfrom=$migarray['from'];
$versionto=$migarray['to']; $versionto=$migarray['to'];
print '<tr><td nowrap="nowrap"><b>'.$langs->trans("Upgrade").' '.$versionfrom.' -> '.$versionto.'</b></td><td>'; $newversionfrom=eregi_replace('\.[0-9]+$','.*',$versionfrom);
$newversionto=eregi_replace('\.[0-9]+$','.*',$versionto);
print '<tr><td nowrap="nowrap"><b>'.$langs->trans("Upgrade").' '.$newversionfrom.' -> '.$newversionto.'</b></td><td>';
print $langs->trans("UpgradeDesc").'</td>'; print $langs->trans("UpgradeDesc").'</td>';
print '<td align="center">'; print '<td align="center">';
if ($allowupgrade) if ($allowupgrade)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment