d/rules: Fix installation location
This commit is contained in:
parent
0769a79a16
commit
d014d9b695
4
debian/rules
vendored
4
debian/rules
vendored
|
@ -32,8 +32,8 @@ install: build
|
||||||
# Add here commands to install the package into debian/nagios-snmp-plugins.
|
# Add here commands to install the package into debian/nagios-snmp-plugins.
|
||||||
for PLUGINS in plugins/*.pl; \
|
for PLUGINS in plugins/*.pl; \
|
||||||
do \
|
do \
|
||||||
install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
|
install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/`basename $$PLUGINS` || exit 1; \
|
||||||
sed -i "s#/usr/local/icinga/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
|
sed -i "s#/usr/local/icinga/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/`basename $$PLUGINS` || exit 1; \
|
||||||
done
|
done
|
||||||
# copying templates them into seperate "template" directories outside of
|
# copying templates them into seperate "template" directories outside of
|
||||||
# /usr/share/doc for ucf to use.
|
# /usr/share/doc for ucf to use.
|
||||||
|
|
Loading…
Reference in a new issue