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:
parent
b15a5194d1
commit
b2501950c7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user