don't allow leaving the software update plugin while ipkg is running
[enigma2.git] / lib / python / Components / Ipkg.py
index 25e197973b3eff353b5f712cc6289d09c00da88a..df700d6b5b1fa5d07712983f0f06b9149344c77b 100644 (file)
@@ -104,4 +104,10 @@ class Ipkg:
                self.callbackList.append(callback)
                
        def getFetchedList(self):
-               return self.fetchedList
\ No newline at end of file
+               return self.fetchedList
+       
+       def stop(self):
+               self.cmd.kill()
+               
+       def isRunning(self):
+               return self.cmd.running()