forked from Mirrors/flatpak-builder
Don't handle already-installed error too early
Leave this to the callers which may well print out a different message depending on whether the update did anything or not.tingping/wmclass
parent
e8599bb869
commit
1e7bd752bf
|
@ -2928,15 +2928,8 @@ flatpak_dir_deploy_update (FlatpakDir *self,
|
|||
checksum_or_latest,
|
||||
opt_subpaths ? opt_subpaths : old_subpaths,
|
||||
old_deploy_data,
|
||||
cancellable, &my_error))
|
||||
{
|
||||
if (g_error_matches (my_error, FLATPAK_ERROR,
|
||||
FLATPAK_ERROR_ALREADY_INSTALLED))
|
||||
return TRUE;
|
||||
|
||||
g_propagate_error (error, my_error);
|
||||
return FALSE;
|
||||
}
|
||||
cancellable, error))
|
||||
return FALSE;
|
||||
|
||||
if (!flatpak_dir_undeploy (self, ref, old_active,
|
||||
FALSE,
|
||||
|
|
Loading…
Reference in New Issue