Skip to content
Permalink
Browse files

Remove target first

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 11, 2019
1 parent 949acd9 commit faa94d8c0979a173daf433412f84b2bcc418604d
Showing with 4 additions and 0 deletions.
  1. +4 −0 build/051-monitoring-plugins
@@ -42,6 +42,10 @@ echo $0 > /var/www/html/userfiles/nems-build.cur
rm -rf /usr/local/nagios/libexec
fi

if [[ -e /usr/lib/nagios/plugins ]]; then
rm -rf /usr/lib/nagios/plugins
fi

# Create the target folder if it doesn't exist
if [[ ! -d /usr/lib/nagios ]]; then
mkdir -p /usr/lib/nagios/plugins

0 comments on commit faa94d8

Please sign in to comment.
You can’t perform that action at this time.