diff bin/publishdebianpackages.py @ 428:3d65b3176159 treepkg-status

fix if statement upload hook should be called if it's not empty
author Bjoern Ricks <bricks@intevation.de>
date Wed, 28 Jul 2010 08:38:50 +0000
parents 56f7da71d41e
children 9cfa9f64387a
line wrap: on
line diff
--- a/bin/publishdebianpackages.py	Wed Jul 28 08:33:48 2010 +0000
+++ b/bin/publishdebianpackages.py	Wed Jul 28 08:38:50 2010 +0000
@@ -235,7 +235,7 @@
         copy_to_publishdir(config, dist, section, arch, quiet)
 
     # update apt archive
-    if not config["after_upload_hook"] or \
+    if config["after_upload_hook"] and \
         not EMPTY.match(config["after_upload_hook"]):
         if not quiet:
             print "running after upload hook"
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)