aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Ipkg.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-16 18:25:23 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-16 18:25:23 +0100
commitd58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763 (patch)
treef96b8eae81d7aa0c2d11eda8bcda1e4b87f96e78 /lib/python/Components/Ipkg.py
parent4510fa62a33b31fec442fd0d77eb682d93ebf7e6 (diff)
parentfbaf2a5f2fa5236b09a4d14f059d99eace24f2d5 (diff)
downloadenigma2-d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763.tar.gz
enigma2-d58ca4cf34b7621aea4e2c1ff07bed6b2cd6b763.zip
Merge branch 'master' of /home/tmbinc/enigma2-git into tmbinc/FixTimingBugs
Diffstat (limited to 'lib/python/Components/Ipkg.py')
-rwxr-xr-x[-rw-r--r--]lib/python/Components/Ipkg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/Ipkg.py b/lib/python/Components/Ipkg.py
index 31889bcf..0ba1165c 100644..100755
--- a/lib/python/Components/Ipkg.py
+++ b/lib/python/Components/Ipkg.py
@@ -52,6 +52,8 @@ class IpkgComponent:
self.runCmd("list")
elif cmd == self.CMD_INSTALL:
self.runCmd("install " + args['package'])
+ elif cmd == self.CMD_REMOVE:
+ self.runCmd("remove " + args['package'])
self.setCurrentCommand(cmd)
def cmdFinished(self, retval):
@@ -90,6 +92,8 @@ class IpkgComponent:
self.callCallbacks(self.EVENT_UPGRADE, data.split(' ', 1)[1].split(' ')[0])
elif data.find('Installing') == 0:
self.callCallbacks(self.EVENT_INSTALL, data.split(' ', 1)[1].split(' ')[0])
+ elif data.find('Removing') == 0:
+ self.callCallbacks(self.EVENT_REMOVE, data.split(' ', 1)[1].split(' ')[1])
elif data.find('Configuring') == 0:
self.callCallbacks(self.EVENT_CONFIGURING, data.split(' ', 1)[1].split(' ')[0])
elif data.find('An error occurred') == 0: