1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-02-28 09:21:53 -05:00

Fix sync db location in pactest so new location is acceptable

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2007-09-06 19:52:55 -05:00
parent b15a5194d1
commit b2501950c7

View File

@ -218,7 +218,10 @@ class pmdb:
"""
"""
path = os.path.join(self.dbdir, self.treename, pkg.fullname())
if self.treename == "local":
path = os.path.join(self.dbdir, self.treename, pkg.fullname())
else:
path = os.path.join(self.dbdir, "sync", self.treename, pkg.fullname())
mkdir(path)
# desc