From 9a61c74626ad5626c9a4dc621db7ccf477d85d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Sat, 13 Aug 2005 13:11:28 +0000 Subject: [PATCH] * apply Caglar's workaround --- pisi/operations.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pisi/operations.py b/pisi/operations.py index fc446689..8f552a1e 100644 --- a/pisi/operations.py +++ b/pisi/operations.py @@ -81,8 +81,11 @@ def install_single_name(name, upgrade = False): if repo.indexuri.isLocalFile(): pkg_path = pkg.packageURI else: + # FIXME: determine if we have relative paths in the index + # rather than doing this. Requires the index to know about + # that pkg_path = os.path.join(os.path.dirname(repo.indexuri.getUri()), - pkg.packageURI) + os.path.basename(pkg.packageURI)) ui.debug("Package URI: %s\n" % pkg_path)