Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix trying to delete dirs, during force reinstall, that should be kept.
Bryan Drewery committed 13 years ago
commit 92f3de0d8592ae4306f0082df2b9da56904aa479
parent d22a39c
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -351,7 +351,7 @@ pkg_jobs_keep_files_to_del(struct pkg *p1, struct pkg *p2)
		if (d->keep)
			continue;

-
		d->keep = pkg_has_file(p2, pkg_dir_path(d));
+
		d->keep = pkg_has_dir(p2, pkg_dir_path(d));
	}

	return (EPKG_OK);