operations/upgrade: check if version is greater

we should check if the version is greater instead of checking if its
greater or equal
i18n
Fries 2 years ago committed by fries1234
parent f7297130e7
commit 5315b76ee8

@ -65,7 +65,7 @@ async fn upgrade_aur(options: Options) {
.silent_unwrap(AppExitCode::RpcError);
if let Some(remote_package) = remote_package {
if vercmp(remote_package.metadata.version.clone(), pkg.version.clone()).is_ge() {
if vercmp(remote_package.metadata.version.clone(), pkg.version.clone()).is_gt() {
tracing::debug!(
"local version: {}, remote version: {}",
pkg.version,

Loading…
Cancel
Save