Using absolut paths when using ucf, debconf 1.5.62 changed it's behaviour (Closes: #867256)
This commit is contained in:
parent
97cb3c4f35
commit
878ceb9892
4
debian/functions
vendored
4
debian/functions
vendored
|
@ -6,10 +6,8 @@ npconfdir=/etc/nagios-plugins/config
|
||||||
register_cfgs(){
|
register_cfgs(){
|
||||||
# do this in a subshell so we don't screw up cwd
|
# do this in a subshell so we don't screw up cwd
|
||||||
(
|
(
|
||||||
cd $templdir
|
|
||||||
for f in *cfg; do
|
for f in *cfg; do
|
||||||
dest=${npconfdir}/$f
|
ucf ${templdir}/$f ${npconfdir}/$f
|
||||||
ucf $f $dest
|
|
||||||
done
|
done
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue