summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-20 04:12:35 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-20 04:12:35 +0000
commitc3d000b79646ee87a35aa8d29c8fa6d6876d8c65 (patch)
treecb4b716ad1216f309b84c828e5d8ce6f0fd19706 /packages.py
parent6c3d0f9114008225e0c655be3c618a06fc35bfc6 (diff)
downloadanaconda-c3d000b79646ee87a35aa8d29c8fa6d6876d8c65.tar.gz
anaconda-c3d000b79646ee87a35aa8d29c8fa6d6876d8c65.tar.xz
anaconda-c3d000b79646ee87a35aa8d29c8fa6d6876d8c65.zip
hrrm... we can't just know that the length of instPath is 13 characters now that we're not hard-coding /mnt/sysimage
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages.py b/packages.py
index 0608d13e5..781a1f998 100644
--- a/packages.py
+++ b/packages.py
@@ -732,7 +732,7 @@ def doInstall(method, id, intf, instPath):
for (descr, (type, mount, need)) in problems:
if mount.startswith(instPath):
- mount = mount[13:]
+ mount = mount[len(instPath):]
if not mount:
mount = '/'