diff options
author | Dan McGee <dan@archlinux.org> | 2007-09-07 02:52:55 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-09-07 02:52:55 +0200 |
commit | b2501950c7fca0b771fc79054d9592ea79753749 (patch) | |
tree | 8e958a27b7389e29393008d1e046e2b53f30ac1f /pactest | |
parent | b15a5194d1a8485a2769560e49e6ff03e1862533 (diff) | |
download | pacman-b2501950c7fca0b771fc79054d9592ea79753749.tar.gz pacman-b2501950c7fca0b771fc79054d9592ea79753749.tar.xz |
Fix sync db location in pactest so new location is acceptable
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest')
-rwxr-xr-x | pactest/pmdb.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pactest/pmdb.py b/pactest/pmdb.py index fb0e10bb..5d5104fb 100755 --- a/pactest/pmdb.py +++ b/pactest/pmdb.py @@ -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 |