Skip to content

Commit

Permalink
Fix numéro de version indiqué
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvaner committed Feb 2, 2020
1 parent fbd6498 commit d34f978
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 d34f978

Please sign in to comment.