From 19c3179b7ebfa4c35dff45792c922602d9322417 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Mon, 6 Oct 2014 03:00:25 -0400 Subject: pmdb: include directories in package file lists Needed for checking directories with PKG_FILES. Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- test/pacman/pmdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2