aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/update/plugin.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-02-22 16:32:28 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-02-22 16:32:28 +0000
commita0842dd1b96a660acedf4894690c3ab37c24094d (patch)
tree7ba17e9e68c783a074fb903d55f5d5736fd24c3b /lib/python/Plugins/update/plugin.py
parent568bc959ef68e29e12afb857d01de2e1f7517e4d (diff)
downloadenigma2-a0842dd1b96a660acedf4894690c3ab37c24094d.tar.gz
enigma2-a0842dd1b96a660acedf4894690c3ab37c24094d.zip
create a Console screen for command executions
Diffstat (limited to 'lib/python/Plugins/update/plugin.py')
-rw-r--r--lib/python/Plugins/update/plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Plugins/update/plugin.py b/lib/python/Plugins/update/plugin.py
index 1d91a558..56c1dfd9 100644
--- a/lib/python/Plugins/update/plugin.py
+++ b/lib/python/Plugins/update/plugin.py
@@ -6,6 +6,7 @@ from Components.ScrollLabel import ScrollLabel
from Components.GUIComponent import *
from Components.MenuList import MenuList
from Components.Input import Input
+from Screens.Console import Console
from Plugins.Plugin import PluginDescriptor
import os
@@ -43,7 +44,7 @@ class UpdatePluginMenu(Screen):
def runUpgrade(self, result):
if result:
- self.session.open(Upgrade)
+ self.session.open(Console, ["ipkg update", "ipkg upgrade -force-defaults -force-overwrite"])
class IPKGSource(Screen):
skin = """