diff --git a/bin/xbps-pkgdb/main.c b/bin/xbps-pkgdb/main.c index 99ee783c..c0b8e19e 100644 --- a/bin/xbps-pkgdb/main.c +++ b/bin/xbps-pkgdb/main.c @@ -183,6 +183,9 @@ main(int argc, char **argv) } out: + if (rv == 0) + xbps_pkgdb_update(&xh, true, true); + xbps_end(&xh); exit(rv ? EXIT_FAILURE : EXIT_SUCCESS); } diff --git a/bin/xbps-reconfigure/main.c b/bin/xbps-reconfigure/main.c index 8b14c2a0..ed7a06d1 100644 --- a/bin/xbps-reconfigure/main.c +++ b/bin/xbps-reconfigure/main.c @@ -182,6 +182,9 @@ main(int argc, char **argv) } } } + if (rv == 0) + xbps_pkgdb_update(&xh, true, true); + xbps_end(&xh); exit(rv ? EXIT_FAILURE : EXIT_SUCCESS); }