mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
pmdb: include directories in package file lists
Needed for checking directories with PKG_FILES. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
62c11e450a
commit
19c3179b7e
@ -172,7 +172,7 @@ class pmdb(object):
|
||||
if line == "%FILES%":
|
||||
while line:
|
||||
line = fd.readline().strip("\n")
|
||||
if line and line[-1] != "/":
|
||||
if line:
|
||||
pkg.files.append(line)
|
||||
if line == "%BACKUP%":
|
||||
pkg.backup = _getsection(fd)
|
||||
|
Loading…
Reference in New Issue
Block a user