aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-06-07 11:25:34 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-06-07 11:25:34 +0000
commit2d27932b3883a9e7a0e169caad004c16fd276808 (patch)
treeeff1d185d219154c1acb01c7c513626beea8089a /lib/python
parent90518479f5cf86c713702cc78e2af583b0234676 (diff)
downloadenigma2-2d27932b3883a9e7a0e169caad004c16fd276808.tar.gz
enigma2-2d27932b3883a9e7a0e169caad004c16fd276808.zip
proberly install multiple packages without a GSOD
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/DreamInfoHandler.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/DreamInfoHandler.py b/lib/python/Components/DreamInfoHandler.py
index 6cd96700..833fea4c 100644
--- a/lib/python/Components/DreamInfoHandler.py
+++ b/lib/python/Components/DreamInfoHandler.py
@@ -208,7 +208,7 @@ class DreamInfoHandler:
attributes = self.installingAttributes
#print "attributes:", attributes
- if self.currentAttributeIndex >= len(self.attributeNames): # end of package reached
+ if self.currentAttributeIndex >= len(self.attributeNames) - 1: # end of package reached
print "end of package reached"
if self.currentlyInstallingMetaIndex is None or self.currentlyInstallingMetaIndex >= len(self.installIndexes) - 1:
print "set status to DONE"
@@ -217,6 +217,7 @@ class DreamInfoHandler:
else:
print "increment meta index to install next package"
self.currentlyInstallingMetaIndex += 1
+ self.currentAttributeIndex = 0
self.installPackage(self.installIndexes[self.currentlyInstallingMetaIndex])
self.setStatus(self.STATUS_WORKING)