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

Rohan Garg rohangarg-guest at moszumanska.debian.org
Mon Jan 12 15:35:39 UTC 2015


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

The following commit has been merged in the master branch:
commit d6085ee5655413236efc502fb6d434f9e24b96a7
Author: Rohan Garg <rohan at kde.org>
Date:   Mon Jan 12 16:35:25 2015 +0100

    Fix find/replace code
---
 dci/imager.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dci/imager.rb b/dci/imager.rb
index 355f4f1..8eda734 100644
--- a/dci/imager.rb
+++ b/dci/imager.rb
@@ -52,8 +52,8 @@ def workarounds
         f.puts('live-boot-initramfs-tools')
     end
 
-    File.open('config/package-lists/desktop.list.chroot', 'r+') do |f|
-        contents = f.read
+    contents = File.read('config/package-lists/desktop.list.chroot')
+    File.open('config/package-lists/desktop.list.chroot', 'w') do |f|
         contents.gsub!(/plymouth-drm/, '')
         contents.gsub!(/task-kde-desktop/, '')
         f.puts(contents)

-- 
ci-tooling packaging



More information about the pkg-kde-commits mailing list