Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
fix inverted logic in previous commit
Baptiste Daroussin committed 3 months ago
commit 7dde41610adc789179802943abd7313f081051fb
parent 83243c7
1 file changed +1 -1
modified libpkg/pkg_add.c
@@ -606,7 +606,7 @@ create_hardlink(struct pkg_add_context *context, struct pkg_file *f, const char
		    " hardlinked to %s", f->path, path);
		return (EPKG_FATAL);
	}
-
	if (fh->temppath != NULL) {
+
	if (fh->temppath == NULL) {
		vec_foreach(*tempdirs, i) {
			if (strncmp(tempdirs->d[i]->name, fh->path, tempdirs->d[i]->len) == 0 &&
			    fh->path[tempdirs->d[i]->len] == '/' ) {