forked from Mirrors/flatpak-builder
app: Clean up leftover removes after updates too
parent
9285d055ab
commit
4531c91519
|
@ -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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -182,5 +184,7 @@ xdg_app_builtin_update_app (int argc, char **argv, GCancellable *cancellable, GE
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
xdg_app_dir_cleanup_removed (dir, cancellable, NULL);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue