app: Clean up leftover removes after updates too

tingping/wmclass
Alexander Larsson 2015-12-15 12:43:22 +01:00
parent 9285d055ab
commit 4531c91519
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,8 @@ xdg_app_builtin_update_runtime (int argc, char **argv, GCancellable *cancellable
}
}
xdg_app_dir_cleanup_removed (dir, cancellable, NULL);
return TRUE;
}
@ -182,5 +184,7 @@ xdg_app_builtin_update_app (int argc, char **argv, GCancellable *cancellable, GE
return FALSE;
}
xdg_app_dir_cleanup_removed (dir, cancellable, NULL);
return TRUE;
}