mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08: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%":
|
if line == "%FILES%":
|
||||||
while line:
|
while line:
|
||||||
line = fd.readline().strip("\n")
|
line = fd.readline().strip("\n")
|
||||||
if line and line[-1] != "/":
|
if line:
|
||||||
pkg.files.append(line)
|
pkg.files.append(line)
|
||||||
if line == "%BACKUP%":
|
if line == "%BACKUP%":
|
||||||
pkg.backup = _getsection(fd)
|
pkg.backup = _getsection(fd)
|
||||||
|
Loading…
Reference in New Issue
Block a user