From fc80adaf7ac4421b5a72fe56c96db0a2b1849a22 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Tue, 28 May 2013 01:42:38 +0200 Subject: [PATCH] Remove duplicates in the list of files passed to NSIS --- indra/newview/viewer_manifest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index dd324ae00..ab4087527 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -348,6 +348,7 @@ class WindowsManifest(ViewerManifest): result = "" dest_files = [pair[1] for pair in self.file_list if pair[0] and os.path.isfile(pair[1])] + dest_files = list(set(dest_files)) # remove duplicates # sort deepest hierarchy first dest_files.sort(lambda a,b: cmp(a.count(os.path.sep),b.count(os.path.sep)) or cmp(a,b)) dest_files.reverse()