From 878ceb9892a947f75c01fcd421ff3312a60faff5 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Tue, 11 Jul 2017 08:59:59 +0200 Subject: [PATCH] Using absolut paths when using ucf, debconf 1.5.62 changed it's behaviour (Closes: #867256) --- debian/functions | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debian/functions b/debian/functions index b0bca6f..db323bc 100644 --- a/debian/functions +++ b/debian/functions @@ -6,10 +6,8 @@ npconfdir=/etc/nagios-plugins/config register_cfgs(){ # do this in a subshell so we don't screw up cwd ( - cd $templdir for f in *cfg; do - dest=${npconfdir}/$f - ucf $f $dest + ucf ${templdir}/$f ${npconfdir}/$f done ); }