forked from Mirrors/flatpak-builder
Update: Don't double-call flatpak_dir_cleanup_removed
This is already called automatically from flatpak_dir_deploy_update. In particular, in the system-installed case this will cause a warning due to not being able to remove the old checkout with permission denied.tingping/wmclass
parent
d0ac28f2fa
commit
874a67c721
|
@ -299,8 +299,6 @@ flatpak_builtin_update (int argc,
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
flatpak_dir_cleanup_removed (dir, cancellable, NULL);
|
|
||||||
|
|
||||||
if (failed)
|
if (failed)
|
||||||
return flatpak_fail (error, _("One or more updates failed"));
|
return flatpak_fail (error, _("One or more updates failed"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue