[SCM] ci-tooling packaging branch, master, updated. 28ba1bc0cfa4358c158a1b227911588601a6ee15

Harald Sitter apachelogger-guest at moszumanska.debian.org
Thu Feb 26 12:53:21 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=28ba1bc

The following commit has been merged in the master branch:
commit 28ba1bc0cfa4358c158a1b227911588601a6ee15
Author: Harald Sitter <sitter at kde.org>
Date:   Thu Feb 26 13:53:15 2015 +0100

    implode if we have an empty package list
    
    indicative of not having had a promotion at all yet
---
 kci/install_check.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/kci/install_check.rb b/kci/install_check.rb
index b7c5eec..494c162 100755
--- a/kci/install_check.rb
+++ b/kci/install_check.rb
@@ -98,6 +98,7 @@ class CiPPA
 
   def install
     LOG.info "Installing PPA #{@type}."
+    return false if packages.empty?
     pin!
     package_list = packages.map { |k, v| "#{k}='#{v}'" }.join(' ')
     args = []
@@ -107,6 +108,7 @@ class CiPPA
 
   def purge
     LOG.info "Purging PPA #{@type}."
+    return false if packages.empty?
     apt(:purge, packages.keys)
   end
 

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list