okay, this one does it, really
This commit is contained in:
parent
f0bf0b77eb
commit
c2bfddce96
3
debian/functions
vendored
3
debian/functions
vendored
|
@ -1,5 +1,7 @@
|
||||||
# functions for use by nagios plugins maintainer scripts
|
# functions for use by nagios plugins maintainer scripts
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
npconfdir=/etc/nagios-plugins/config
|
npconfdir=/etc/nagios-plugins/config
|
||||||
npdpkgdir=/usr/share/nagios-plugins/dpkg
|
npdpkgdir=/usr/share/nagios-plugins/dpkg
|
||||||
|
|
||||||
|
@ -29,3 +31,4 @@ register_cfgs(){
|
||||||
);
|
);
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -151,10 +151,10 @@ install: build
|
||||||
sed -e 's/@STD_PLUGINS@/${std_plugin_cfgs}/' \
|
sed -e 's/@STD_PLUGINS@/${std_plugin_cfgs}/' \
|
||||||
< $(DEBIANDIR)/nagios-plugins-standard.postrm.in \
|
< $(DEBIANDIR)/nagios-plugins-standard.postrm.in \
|
||||||
> $(DEBIANDIR)/nagios-plugins-standard.postrm
|
> $(DEBIANDIR)/nagios-plugins-standard.postrm
|
||||||
# copy our dpkg-sourced functions into place
|
# copy our dpkg-sourced functions etc into place
|
||||||
install -m 644 -D $(DEBIANDIR)/functions $(DEBIANDIR)/sarge.md5sums \
|
mkdir -p ${NP_BASIC_DIR}/usr/share/nagios-plugins/dpkg
|
||||||
${NP_BASIC_DIR}/usr/share/nagios-plugins/dpkg/functions
|
install -t ${NP_BASIC_DIR}/usr/share/nagios-plugins/dpkg \
|
||||||
|
$(DEBIANDIR)/functions $(DEBIANDIR)/sarge.md5sums
|
||||||
|
|
||||||
# Build architecture-independent files here.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
|
|
Loading…
Reference in a new issue