Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix stupid inversion
Baptiste Daroussin committed 13 years ago
commit b4dd0da6002ff479f9d3f8fd07921f2e71d856d9
parent 38d00a4db998debc92ba90cd8e1ea69771182aaa
1 file changed +2 -2
modified libpkg/pkg.c
@@ -1166,7 +1166,7 @@ pkg_is_installed(struct pkgdb *db, const char *origin)
}

bool
-
pkg_has_dir(struct pkg *p, const char *path)
+
pkg_has_files(struct pkg *p, const char *path)
{
	struct pkg_file *f;

@@ -1176,7 +1176,7 @@ pkg_has_dir(struct pkg *p, const char *path)
}

bool
-
pkg_has_file(struct pkg *p, const char *path)
+
pkg_has_dir(struct pkg *p, const char *path)
{
	struct pkg_dir *d;