[Checkins] SVN: zc.recipe.zeo/branches/dev/src/zc/recipe/zeo/__init__.py Always run install to get new eggs.

Jim Fulton jim at zope.com
Wed Jan 10 07:24:02 EST 2007


Log message for revision 71858:
  Always run install to get new eggs.
  

Changed:
  U   zc.recipe.zeo/branches/dev/src/zc/recipe/zeo/__init__.py

-=-
Modified: zc.recipe.zeo/branches/dev/src/zc/recipe/zeo/__init__.py
===================================================================
--- zc.recipe.zeo/branches/dev/src/zc/recipe/zeo/__init__.py	2007-01-10 12:23:57 UTC (rev 71857)
+++ zc.recipe.zeo/branches/dev/src/zc/recipe/zeo/__init__.py	2007-01-10 12:24:01 UTC (rev 71858)
@@ -67,7 +67,8 @@
     def install(self):
         options = self.options
         dest = options['location']
-        os.mkdir(dest)
+        if not os.path.exists(dest):
+            os.mkdir(dest)
         conf_path = os.path.join(dest, 'zeo.conf')
 
         # Later we'll use the deployment mechanism to get these:
@@ -113,10 +114,8 @@
 
         return dest, os.path.join(bin_dir, self.name)
         
-    def update(self):
-        pass
+    update = install
 
-
 zeo_conf = """\
 # ZEO configuration file
 #



More information about the Checkins mailing list