Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove this check since it means no matter what we fail to pkg a config file if it has a hardlink.
Brad Davis committed 7 years ago
commit 60666a1c8b10661be681988d840b8eaa19d34cd6
parent 002afac
1 file changed +0 -7
modified libpkg/pkg_ports.c
@@ -353,13 +353,6 @@ meta_file(struct plist *p, char *line, struct file_attr *a, bool is_config)
			pkg_addconfig_file(p->pkg, path, content);
			free(content);
		}
-
	} else {
-
		if (is_config) {
-
			pkg_emit_error("Plist error, @config %s: not a regular "
-
			    "file", line);
-
			free(buf);
-
			return (EPKG_FATAL);
-
		}
	}

	if (S_ISDIR(st.st_mode) &&