diff options
author | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:32 -0400 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-19 02:44:32 -0400 |
commit | f3febaf778538e5af9e44793877b346df13b681c (patch) | |
tree | 05e088d0eca09e0ba2f79662aad6197d7aa2f31d | |
parent | 7b4464ee509c1c001656a328a313dc6b5e6a5c03 (diff) |
network/nagios: Fixed for bash4.
-rw-r--r-- | network/nagios/nagios.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/nagios/nagios.SlackBuild b/network/nagios/nagios.SlackBuild index ebc74a69f171a..f8e55326be11b 100644 --- a/network/nagios/nagios.SlackBuild +++ b/network/nagios/nagios.SlackBuild @@ -82,12 +82,8 @@ make install-config mkdir -p $PKG/etc/httpd/extra make install-webconf -( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null || true -) +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true # Change configuration files to .new find $PKG/etc/$PRGNAM/ -name *.cfg | while read cfg ; do mv $cfg $cfg.new ; done |