From 316a48f57c299fe99b85db47a19c384608f5e707 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Fri, 20 Jan 2006 16:06:12 +0000 Subject: [PATCH] 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 --- lib/python/Plugins/update/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2