1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

Add top level hidden file code to package.c

This was already taken care of in add.c by commit
2ae0438660, but was missed in package.c.

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-07-08 23:46:48 -04:00
parent a501b72e40
commit a2186a43a8

View File

@ -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 */