Skip to content

Commit 60666a1

Browse files
committed
Remove this check since it means no matter what we fail to pkg a config file
if it has a hardlink. It might make sense to add a more in-depth version of this check later on, but I can't image so and it actively breaks pkging the base system.
1 parent 002afac commit 60666a1

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

libpkg/pkg_ports.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -353,13 +353,6 @@ meta_file(struct plist *p, char *line, struct file_attr *a, bool is_config)
353353
pkg_addconfig_file(p->pkg, path, content);
354354
free(content);
355355
}
356-
} else {
357-
if (is_config) {
358-
pkg_emit_error("Plist error, @config %s: not a regular "
359-
"file", line);
360-
free(buf);
361-
return (EPKG_FATAL);
362-
}
363356
}
364357

365358
if (S_ISDIR(st.st_mode) &&

0 commit comments

Comments
 (0)