diff options
-rw-r--r-- | network/openvas-manager/openvas-manager.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/openvas-manager/openvas-manager.SlackBuild b/network/openvas-manager/openvas-manager.SlackBuild index 4c3b588428..98d6d6d79f 100644 --- a/network/openvas-manager/openvas-manager.SlackBuild +++ b/network/openvas-manager/openvas-manager.SlackBuild @@ -65,12 +65,8 @@ cmake \ make make install DESTDIR=$PKG -( 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 # config file mv $PKG/etc/openvas/openvasmd_log.conf $PKG/etc/openvas/openvasmd_log.conf.new |