diff --git a/src/Repo/RepoApt.php b/src/Repo/RepoApt.php index 97f77aaaa..403a1d21c 100644 --- a/src/Repo/RepoApt.php +++ b/src/Repo/RepoApt.php @@ -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(); }