aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py
diff options
context:
space:
mode:
authoracid-burn <acid-burn@opendreambox.org>2011-02-07 14:34:11 +0100
committeracid-burn <acid-burn@opendreambox.org>2011-02-07 14:40:36 +0100
commit89e103f1ff262950613b761fcb370f8ab7267ee8 (patch)
tree43fe106de21a2aaff6d81faf110255bc91e9b84c /lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py
parent367c104e1d3716861c87905575d0bc729342d79c (diff)
downloadenigma2-89e103f1ff262950613b761fcb370f8ab7267ee8.tar.gz
enigma2-89e103f1ff262950613b761fcb370f8ab7267ee8.zip
SoftwareManager: ask for restart after installation inside pluginmanager only if a restart is required.
refs #670
Diffstat (limited to 'lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py')
-rwxr-xr-xlib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py
index 8b8fc97c..87f0a4d6 100755
--- a/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py
+++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py
@@ -264,13 +264,12 @@ class SoftwareTools(DreamInfoHandler):
callback(False)
def startIpkgListInstalled(self, callback = None):
- print "STARTIPKGLISTINSTALLED"
if callback is not None:
self.list_updating = True
if self.list_updating:
if not self.UpdateConsole:
self.UpdateConsole = Console()
- cmd = "opkg list_installed"
+ cmd = "opkg list-installed"
self.UpdateConsole.ePopen(cmd, self.IpkgListInstalledCB, callback)
def IpkgListInstalledCB(self, result, retval, extra_args = None):
@@ -344,6 +343,7 @@ class SoftwareTools(DreamInfoHandler):
callback = None
def cleanupSoftwareTools(self):
+ self.list_updating = False
if self.NotifierCallback is not None:
self.NotifierCallback = None
self.ipkg.stop()