[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r24037: {projects} The rsync `dist/' dir changed, make GetTor aware of it (projects/gettor/lib/gettor)



Author: kaner
Date: 2011-01-05 11:23:51 +0000 (Wed, 05 Jan 2011)
New Revision: 24037

Modified:
   projects/gettor/lib/gettor/packages.py
Log:
The rsync `dist/' dir changed, make GetTor aware of it


Modified: projects/gettor/lib/gettor/packages.py
===================================================================
--- projects/gettor/lib/gettor/packages.py	2011-01-05 03:36:14 UTC (rev 24036)
+++ projects/gettor/lib/gettor/packages.py	2011-01-05 11:23:51 UTC (rev 24037)
@@ -193,7 +193,7 @@
                 continue
             if re.compile(".*split.part.*").match(splitfile):
                 ascsplit = splitfile + ".asc"
-                ascfile = os.path.join(splitdir, "signatures", ascsplit)
+                ascfile = os.path.join(splitdir, ascsplit)
                 # Rename .exe if needed
                 if gettor.utils.hasExe(ascfile):
                     try:
@@ -250,6 +250,18 @@
         self.rsync += " "
         self.rsync += "--exclude='*vidalia-bundles*'"
         self.rsync += " "
+        self.rsync += "--exclude='*vidalia*'"
+        self.rsync += " "
+        self.rsync += "--exclude='*torbrowser*'"
+        self.rsync += " "
+        self.rsync += "--exclude='*torbutton*'"
+        self.rsync += " "
+        self.rsync += "--exclude='*win32*'"
+        self.rsync += " "
+        self.rsync += "--exclude='*android*'"
+        self.rsync += " "
+        self.rsync += "--exclude='*misc*'"
+        self.rsync += " "
         if not silent:
             self.rsync += "--progress"
             self.rsync += " "
@@ -279,7 +291,7 @@
         if not silent:
             self.rsync += "--progress"
             self.rsync += " "
-        self.rsync += "rsync://%s/tor/torbrowser/dist/" % mirror
+        self.rsync += "rsync://%s/tor/dist/torbrowser/" % mirror
         self.rsync += " "
         self.rsync += self.distDir + "_tbb"
         self.rsync += " "