diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-20 16:06:12 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-20 16:06:12 +0000 |
| commit | 316a48f57c299fe99b85db47a19c384608f5e707 (patch) | |
| tree | 44d2b83c9b9323a3a91cb6aac047260d6a42f808 /lib/python/Plugins/update/plugin.py | |
| parent | a63fe4fc45fc957dce2db4752839cb0191646e26 (diff) | |
| download | enigma2-316a48f57c299fe99b85db47a19c384608f5e707.tar.gz enigma2-316a48f57c299fe99b85db47a19c384608f5e707.zip | |
add -force-defaults to ipkg upgrade command for not prompting the user anything while update plugin is run
add -force-overwrite to the ipkg upgrade command to work with faulty packets
Diffstat (limited to 'lib/python/Plugins/update/plugin.py')
| -rw-r--r-- | lib/python/Plugins/update/plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Plugins/update/plugin.py b/lib/python/Plugins/update/plugin.py index 90846f04..eff4b00a 100644 --- a/lib/python/Plugins/update/plugin.py +++ b/lib/python/Plugins/update/plugin.py @@ -36,7 +36,7 @@ class Upgrade(Screen): self.close() def doUpdateDelay(self): - lines = os.popen("ipkg update && ipkg upgrade", "r").readlines() + lines = os.popen("ipkg update && ipkg upgrade -force-defaults -force-overwrite", "r").readlines() string = "" for x in lines: string += x |
