Fix sync db location in pactest so new location is acceptable
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
b15a5194d1
commit
b2501950c7
1 changed files with 4 additions and 1 deletions
|
@ -218,7 +218,10 @@ class pmdb:
|
|||
"""
|
||||
"""
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue