From f0e6748949f442c1c5da4da17d7e399b76a23b33 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Mon, 21 Mar 2016 16:28:20 +0200 Subject: [PATCH] Added missing pathname prefix The postinst script was looking for Nagios files in the wrong directory. --- etc/postinst.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/postinst.in b/etc/postinst.in index 37721f575..99443223a 100755 --- a/etc/postinst.in +++ b/etc/postinst.in @@ -67,7 +67,7 @@ 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') +for i in $(find @CMAKE_INSTALL_PREFIX@/@MAXSCALE_SHAREDIR@/plugins/nagios -name '*.pl') do chmod ug+x $i done