From 3c94b587481c0a0b2d94e19e55c11eb830198b61 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 2 Apr 2014 13:33:57 +0200 Subject: [PATCH] Preserve empty runit directories during build --- config/software/runit.rb | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/config/software/runit.rb b/config/software/runit.rb index a8b1ee4..6f06de4 100644 --- a/config/software/runit.rb +++ b/config/software/runit.rb @@ -1,5 +1,6 @@ # # Copyright:: Copyright (c) 2012-2014 Chef Software, Inc. +# Copyright:: Copyright (c) 2014 GitLab.com # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -110,5 +111,6 @@ runsvdir -P #{install_path}/service 'log: ...................................... "#{install_dir}/sv", "#{install_dir}/init"].each do |dir| command "mkdir -p #{dir}" + command "touch #{dir}/.gitkeep" end end -- libgit2 0.21.2