xbps-rindex: [clean] the filesclean test now passes successfully.
This commit is contained in:
@@ -121,9 +121,9 @@ index_clean(struct xbps_handle *xhp, const char *repodir)
|
||||
for (unsigned int x = 0; x < xbps_array_count(cbd.result); x++) {
|
||||
xbps_array_get_cstring_nocopy(cbd.result, x, &keyname);
|
||||
printf("index: removed entry %s\n", keyname);
|
||||
xbps_dictionary_remove(idxfiles, keyname);
|
||||
pkgname = xbps_pkg_name(keyname);
|
||||
xbps_dictionary_remove(idx, pkgname);
|
||||
xbps_dictionary_remove(idxfiles, keyname);
|
||||
free(pkgname);
|
||||
flush = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user