Fix CR after installing plugins
This commit is contained in:
parent
7989df9a75
commit
608c53e6c1
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -63,6 +63,13 @@ dh_auto_install-%:
|
||||||
if [ -n "$$opts" ]; then \
|
if [ -n "$$opts" ]; then \
|
||||||
dpkg-shlibdeps -O $$opts | grep shlibs:Depends > debian/$*/substvars ;\
|
dpkg-shlibdeps -O $$opts | grep shlibs:Depends > debian/$*/substvars ;\
|
||||||
fi
|
fi
|
||||||
|
# remove CR from plugins
|
||||||
|
set -e; \
|
||||||
|
for fix in `grep -lIUr '
$$' $(CURDIR)/debian/$*/usr/lib/monitoring-plugins | xargs`; do \
|
||||||
|
if [ -n "$$fix" ]; then \
|
||||||
|
sed -i 's/
$$//' $$fix ;\
|
||||||
|
fi ;\
|
||||||
|
done
|
||||||
|
|
||||||
dh_auto_%:
|
dh_auto_%:
|
||||||
set -e; \
|
set -e; \
|
||||||
|
|
Loading…
Reference in a new issue