From 39aca0154dc2cb73ac8c0eed3dd4962d81232b69 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 2 Nov 2007 18:37:57 +0100 Subject: [PATCH] Unzip should not ask any questions. --- lib/sugar/bundle/bundle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sugar/bundle/bundle.py b/lib/sugar/bundle/bundle.py index 8ce3dda7..33fd1a81 100644 --- a/lib/sugar/bundle/bundle.py +++ b/lib/sugar/bundle/bundle.py @@ -115,7 +115,7 @@ class Bundle: # Windows/UNIX mappings, extension attributes, deprecated # features, etc makes it impractical. # FIXME: use manifest - if os.spawnlp(os.P_WAIT, 'unzip', 'unzip', self._path, + if os.spawnlp(os.P_WAIT, 'unzip', 'unzip', '-o', self._path, '-x', 'mimetype', '-d', install_dir): raise ZipExtractException