add -force-defaults to ipkg upgrade command for not prompting the user anything while...
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 20 Jan 2006 16:06:12 +0000 (16:06 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 20 Jan 2006 16:06:12 +0000 (16:06 +0000)
add -force-overwrite to the ipkg upgrade command to work with faulty packets

lib/python/Plugins/update/plugin.py

index 90846f0410b9861a2a93c49148839e019d873613..eff4b00af5e4448f486cfb6311a935dda6dcbfb3 100644 (file)
@@ -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