From d34f9788e81c89f59953f3a4a107eb67e65bf0e6 Mon Sep 17 00:00:00 2001 From: Sylvain Dangin Date: Sun, 2 Feb 2020 22:01:35 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20num=C3=A9ro=20de=20version=20indiqu=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Repo/RepoApt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }