From 39aca0154dc2cb73ac8c0eed3dd4962d81232b69 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 02 Nov 2007 17:37:57 +0000 Subject: Unzip should not ask any questions. --- (limited to 'lib') diff --git a/lib/sugar/bundle/bundle.py b/lib/sugar/bundle/bundle.py index 8ce3dda..33fd1a8 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 -- cgit v0.9.1