From a2186a43a895950cf97dcfcec4b18279f09f0801 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 8 Jul 2007 23:46:48 -0400 Subject: Add top level hidden file code to package.c This was already taken care of in add.c by commit 2ae043866045bbeef129a4b503ee1f5486545821, but was missed in package.c. Signed-off-by: Dan McGee --- lib/libalpm/package.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 16166691..8a3f6ea1 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -610,6 +610,9 @@ pmpkg_t *_alpm_pkg_load(const char *pkgfile) close(fd); filelist = 1; continue; + } else if(*entry_name == '.') { + /* for now, ignore all files starting with '.' that haven't + * already been handled (for future possibilities) */ } else { scriptcheck = 1; /* Keep track of all files so we can generate a filelist later if missing */ -- cgit v1.2.3-24-g4f1b