summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-07-08 23:46:48 -0400
committerDan McGee <dan@archlinux.org>2007-07-08 23:46:48 -0400
commita2186a43a895950cf97dcfcec4b18279f09f0801 (patch)
tree12a87baa800d8c2381ac5318113db161eccdec96 /lib/libalpm
parenta501b72e40062c9e606a787657582d1859c35d35 (diff)
downloadpacman-a2186a43a895950cf97dcfcec4b18279f09f0801.tar.xz
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 <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/package.c3
1 files changed, 3 insertions, 0 deletions
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 */