diff options
Diffstat (limited to 'network/greenbone-security-assistant')
-rw-r--r-- | network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild index 70bc26b5c4..015fbeb26c 100644 --- a/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild +++ b/network/greenbone-security-assistant/greenbone-security-assistant.SlackBuild @@ -61,12 +61,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 # install rc script install -D -m0755 -oroot -groot $CWD/rc.gsad $PKG/etc/rc.d/rc.gsad.new |