Skip to content

Commit

Permalink
Merge pull request #1680 from NextDom/FixUpdateVersionShowed
Browse files Browse the repository at this point in the history
Fix 0.6.9 - Fix numéro de version indiqué
  • Loading branch information
Sylvaner authored Feb 5, 2020
2 parents f23248e + d34f978 commit 0a2f876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repo/RepoApt.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static function checkUpdate(&$targetUpdate)
$targetUpdate->setStatus('update');
$targetUpdate->save();
$result = true;
} elseif (empty($targetUpdate->getRemoteVersion())) {
} elseif (empty($targetUpdate->getRemoteVersion()) || $targetUpdate->getRemoteVersion() !== $newVersion) {
$targetUpdate->setRemoteVersion($newVersion);
$targetUpdate->save();
}
Expand Down

0 comments on commit 0a2f876

Please sign in to comment.