Added missing pathname prefix
The postinst script was looking for Nagios files in the wrong directory.
This commit is contained in:
@ -67,7 +67,7 @@ fi
|
|||||||
|
|
||||||
# This will allow us to install the Perl scripts as executable files
|
# This will allow us to install the Perl scripts as executable files
|
||||||
# without adding the Perl dependencies
|
# without adding the Perl dependencies
|
||||||
for i in $(find @MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl')
|
for i in $(find @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl')
|
||||||
do
|
do
|
||||||
chmod ug+x $i
|
chmod ug+x $i
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user