index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2013-04-14 14:32:19 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-04-15 11:25:18 +1000 |
commit | e19091b2bfe53cc1c37f2fc4999c359719637d7c (patch) | |
tree | 469a9d453c75a725d026e22afb2020a1299e8f94 | |
parent | 87acfef1669a3d6a185fde8c83535cb57bd3bbc5 (diff) |
-rw-r--r-- | test/pacman/pmpkg.py | 2 |
diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 988c73f3..9b3147a3 100644 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -160,6 +160,8 @@ class pmpkg(object): info = tarfile.TarInfo(fileinfo["filename"]) if fileinfo["hasperms"]: info.mode = fileinfo["perms"] + elif fileinfo["isdir"]: + info.mode = 0755 if fileinfo["isdir"]: info.type = tarfile.DIRTYPE tar.addfile(info) |