Skip to content

Commit dd58d67

Browse files
me21jordansissel
authored andcommitted
Copy config file to staging if it doesn't exist there.
Fix #1823.
1 parent c76917a commit dd58d67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/fpm/package/deb.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,7 @@ def add_path(path, allconfigs)
11511151
logger.debug("Adding config file #{path} to Staging area #{staging_path}")
11521152
FileUtils.mkdir_p(File.dirname(dcl))
11531153
FileUtils.cp_r path, dcl
1154+
add_path(path, allconfigs)
11541155
else
11551156
logger.debug("Config file aready exists in staging area.")
11561157
end

0 commit comments

Comments
 (0)