xbps-{pkgdb,reconfigure}: flush pkgdb in case it was modified.
Regression introduced with the recent xbps_end() changes.
This commit is contained in:
parent
94e9754fb1
commit
1251583154
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user