diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2008-06-09 23:23:01 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2008-06-09 23:23:01 +0000 |
| commit | 3d8ffc3281925011e894d57a9f51423736ee891a (patch) | |
| tree | e239ea393cc710c435142e6448749f641ff3bcaa /lib | |
| parent | 30e53d8378cc256fcdefa303b9e5772fd3fc4254 (diff) | |
| download | enigma2-3d8ffc3281925011e894d57a9f51423736ee891a.tar.gz enigma2-3d8ffc3281925011e894d57a9f51423736ee891a.zip | |
handle multiple configuration files correctly. Patch by Pieter Grimmerink
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/python/Components/Ipkg.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/python/Components/Ipkg.py b/lib/python/Components/Ipkg.py index 361b136a..79389b4d 100644 --- a/lib/python/Components/Ipkg.py +++ b/lib/python/Components/Ipkg.py @@ -98,7 +98,10 @@ class IpkgComponent: self.callCallbacks(self.EVENT_ERROR, None) elif data.find('ipkg_download: ERROR:') == 0: self.callCallbacks(self.EVENT_ERROR, None) - elif data.find(' Configuration file') == 0: + elif data.find(' Configuration file \'') >= 0: + # Note: the config file update question doesn't end with a newline, so + # if we get multiple config file update questions, the next ones + # don't necessarily start at the beginning of a line self.callCallbacks(self.EVENT_MODIFIED, data.split(' \'', 1)[1][:-1]) def callCallbacks(self, event, param = None): |
