Using absolut paths when using ucf, debconf 1.5.62 changed it's behaviour (Closes: #867256)

This commit is contained in:
Jan Wagner 2017-07-11 08:59:59 +02:00
parent 97cb3c4f35
commit 878ceb9892

4
debian/functions vendored
View file

@ -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
);
}