diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-10-06 09:00:25 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-10-13 04:54:29 +0200 |
commit | 19c3179b7ebfa4c35dff45792c922602d9322417 (patch) | |
tree | 439c1d52c7521375ee9c1e00cfb0d4021aa358a8 | |
parent | 62c11e450a6f7d753fc997c20027472661de04e0 (diff) | |
download | pacman-19c3179b7ebfa4c35dff45792c922602d9322417.tar.gz pacman-19c3179b7ebfa4c35dff45792c922602d9322417.tar.xz |
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>
-rw-r--r-- | test/pacman/pmdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index 60e0e9cc..aa14dfff 100644 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -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) |