Fixed RPM dependencies
The RPMs depended on Perl due to the Nagios scripts that are installed. This dependency is not needed and should be managed by some other means.
This commit is contained in:
parent
4ee1f304ca
commit
5f1b46d298
@ -65,4 +65,11 @@ then
|
||||
cp -n @MAXSCALE_CONFDIR@/maxscale.cnf.template @MAXSCALE_CONFDIR@/maxscale.cnf
|
||||
fi
|
||||
|
||||
# This will allow us to install the Perl scripts as executable files
|
||||
# without adding the Perl dependencies
|
||||
for i in $(find @MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl')
|
||||
do
|
||||
chmod ug+x $i
|
||||
done
|
||||
|
||||
/sbin/ldconfig
|
||||
|
@ -1,5 +1,5 @@
|
||||
install(PROGRAMS nagios/check_maxscale_monitors.pl DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(PROGRAMS nagios/check_maxscale_resources.pl DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(PROGRAMS nagios/check_maxscale_threads.pl DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(FILES nagios/check_maxscale_monitors.pl DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(FILES nagios/check_maxscale_resources.pl DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(FILES nagios/check_maxscale_threads.pl DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(FILES nagios/maxscale_commands.cfg DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
install(FILES nagios/server1.cfg DESTINATION ${MAXSCALE_SHAREDIR}/plugins/nagios)
|
||||
|
Loading…
x
Reference in New Issue
Block a user