Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Build Nagios plugin DEB package in /usr/lib #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/deb/percona-nagios-plugins/files
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
SOURCE_DIR=$1
DEST_DIR=$2
LIBDIR=/usr/lib64
LIBDIR=/usr/lib
cd $SOURCE_DIR
install -m 0755 -d $DEST_DIR/$LIBDIR/nagios/plugins
install -m 0755 nagios/bin/pmp-* $DEST_DIR/$LIBDIR/nagios/plugins
2 changes: 1 addition & 1 deletion build/deb/percona-nagios-plugins/postinst
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
echo
echo "Plugins are installed to /usr/lib64/nagios/plugins"
echo "Plugins are installed to /usr/lib/nagios/plugins"