diff options
author | Dan McGee <dan@archlinux.org> | 2007-07-09 05:46:48 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-07-09 05:46:48 +0200 |
commit | a2186a43a895950cf97dcfcec4b18279f09f0801 (patch) | |
tree | 12a87baa800d8c2381ac5318113db161eccdec96 /lib/libalpm | |
parent | a501b72e40062c9e606a787657582d1859c35d35 (diff) | |
download | pacman-a2186a43a895950cf97dcfcec4b18279f09f0801.tar.gz pacman-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.c | 3 |
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 */ |