[Pkg-nagios-changes] [Git][nagios-team/pkg-monitoring-plugins][master] 2 commits: Using absolut paths when using ucf, debconf 1.5.62 changed it's behaviour (Closes: #867256)

Jan Wagner gitlab at salsa.debian.org
Sun Mar 11 14:52:20 UTC 2018


Jan Wagner pushed to branch master at Debian Nagios Maintainer Group / pkg-monitoring-plugins


Commits:
878ceb98 by Jan Wagner at 2017-07-11T08:59:59+02:00
Using absolut paths when using ucf, debconf 1.5.62 changed it's behaviour (Closes: #867256)

- - - - -
22de1396 by Jan Wagner at 2018-03-11T15:51:39+01:00
d/control: Update VCS-headers

- - - - -


2 changed files:

- debian/control
- debian/functions


Changes:

=====================================
debian/control
=====================================
--- a/debian/control
+++ b/debian/control
@@ -17,8 +17,8 @@ Build-Depends: autotools-dev,
                perl,
                procps
 Homepage: https://www.monitoring-plugins.org
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-nagios/pkg-monitoring-plugins.git
-Vcs-Git: https://anonscm.debian.org/git/pkg-nagios/pkg-monitoring-plugins.git
+Vcs-Browser: https://salsa.debian.org/nagios-team/pkg-monitoring-plugins
+Vcs-Git: https://salsa.debian.org/nagios-team/pkg-monitoring-plugins.git
 Standards-Version: 3.9.8
 
 Package: monitoring-plugins


=====================================
debian/functions
=====================================
--- 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 
 		);
 }



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-monitoring-plugins/compare/97cb3c4f3565cd917da1b3fd0ee450a206e7b76e...22de1396a3867de986968f75cf201c89b1676fab

---
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-monitoring-plugins/compare/97cb3c4f3565cd917da1b3fd0ee450a206e7b76e...22de1396a3867de986968f75cf201c89b1676fab
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-changes/attachments/20180311/9a088a91/attachment.html>


More information about the Pkg-nagios-changes mailing list