Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix stupid inversion
Baptiste Daroussin committed 13 years ago
commit b4dd0da6002ff479f9d3f8fd07921f2e71d856d9
parent 38d00a4
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;