Fix removing empty /usr/include
This commit is contained in:
parent
fdbe22492c
commit
c0bb7868f2
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -6,6 +6,7 @@ nagios-plugins (1.4.16+git20130823-1) UNRELEASED; urgency=low
|
|||
- 10_check_apt_perfdata.dpatch
|
||||
- 11_check_nt_npe.dpatch
|
||||
- 12_check_smtp_double_threshold.dpatch
|
||||
* Fix removing empty /usr/include
|
||||
|
||||
-- Jan Wagner <waja@cyconet.org> Fri, 23 Aug 2013 22:45:43 +0200
|
||||
|
||||
|
|
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -182,8 +182,8 @@ install: build
|
|||
mkdir -p ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg
|
||||
install -t ${NP_COMMON_DIR}/usr/share/nagios-plugins/dpkg \
|
||||
$(DEBIANDIR)/functions
|
||||
# remove /usr/include from nagios-plugins-nasic (in case its empty)
|
||||
rmdir ${NP_BASIC_DIR}/usr/include
|
||||
# remove /usr/include from nagios-plugins-basic (in case its empty and exists)
|
||||
[ ! -d ${NP_BASIC_DIR}/usr/include ] || rmdir ${NP_BASIC_DIR}/usr/include
|
||||
# generate debian/README.Debian.plugins
|
||||
perl ./debian/bin/gen_plugin_deps.pl
|
||||
|
||||
|
|
Loading…
Reference in a new issue