xbps-{pkgdb,reconfigure}: flush pkgdb in case it was modified.

Regression introduced with the recent xbps_end() changes.
This commit is contained in:
Juan RP 2015-01-17 12:06:13 +01:00
parent 94e9754fb1
commit 1251583154
2 changed files with 6 additions and 0 deletions

View File

@ -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);
}

View File

@ -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);
}