Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix trying to delete dirs, during force reinstall, that should be kept.
Bryan Drewery committed 13 years ago
commit 92f3de0d8592ae4306f0082df2b9da56904aa479
parent d22a39c070b57d8f4b374bc2b89714ce8a806c54
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);