Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
pkg_repo_fetch_package: Don't try symlinking if path is not set in cases where the file already existed
Bryan Drewery committed 12 years ago
commit c04c530e1ff26d84264341b6c6484751166f6e19
parent 3eb39cd866be30e4e16d2b7ad9d8f547be94c6b1
1 file changed +1 -1
modified libpkg/pkg_repo.c
@@ -207,7 +207,7 @@ pkg_repo_fetch_package(struct pkg *pkg)
	cleanup:
	if (retcode != EPKG_OK)
		unlink(dest);
-
	else {
+
	else if (path != NULL) {
		/* Create symlink from full pkgname */
		ext = strrchr(dest, '.');
		pkg_snprintf(link_dest, sizeof(link_dest), "%S/%n-%v%S",