From 75646733a2f563eae1296305237e4dd8d1115657 Mon Sep 17 00:00:00 2001 From: Alexandr Zarubkin Date: Sat, 7 Oct 2023 01:10:16 +0300 Subject: [PATCH] Copy config file to staging if it doesn't exist there. Fix #1823. --- lib/fpm/package/deb.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fpm/package/deb.rb b/lib/fpm/package/deb.rb index 4d97dfb0cc..0e39deac33 100644 --- a/lib/fpm/package/deb.rb +++ b/lib/fpm/package/deb.rb @@ -1068,6 +1068,7 @@ def add_path(path, allconfigs) logger.debug("Adding config file #{path} to Staging area #{staging_path}") FileUtils.mkdir_p(File.dirname(dcl)) FileUtils.cp_r path, dcl + add_path(path, allconfigs) else logger.debug("Config file aready exists in staging area.") end