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
Alexander Larsson 2016-08-29 11:46:33 +02:00
parent d0ac28f2fa
commit 874a67c721
1 changed files with 0 additions and 2 deletions

View File

@ -299,8 +299,6 @@ flatpak_builtin_update (int argc,
return FALSE;
}
flatpak_dir_cleanup_removed (dir, cancellable, NULL);
if (failed)
return flatpak_fail (error, _("One or more updates failed"));