From: Stefan Pluecken Date: Fri, 20 Jan 2006 16:06:12 +0000 (+0000) Subject: add -force-defaults to ipkg upgrade command for not prompting the user anything while... X-Git-Tag: 2.6.0~4343 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/316a48f57c299fe99b85db47a19c384608f5e707 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 --- 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