diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-08-07 11:38:33 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-07 18:55:39 +0700 |
commit | 441588492a949021fddbd55a0fe44f19415ac522 (patch) | |
tree | 839bc6aff729a75f6b020d14a6a447caa5078bc4 /network/modsecurity-apache/modsecurity-apache.SlackBuild | |
parent | e0a05c0c233b6dc9b42a5d194b1e7e726bb344e4 (diff) | |
download | slackbuilds-441588492a949021fddbd55a0fe44f19415ac522.tar.gz |
network/modsecurity-apache: Fix tarball handling.
Also, remove directory /usr/lib if empty (i.e. x86_64).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/modsecurity-apache/modsecurity-apache.SlackBuild')
-rw-r--r-- | network/modsecurity-apache/modsecurity-apache.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/modsecurity-apache/modsecurity-apache.SlackBuild b/network/modsecurity-apache/modsecurity-apache.SlackBuild index 1c7f8d002a..79b670df32 100644 --- a/network/modsecurity-apache/modsecurity-apache.SlackBuild +++ b/network/modsecurity-apache/modsecurity-apache.SlackBuild @@ -66,7 +66,7 @@ cd $TMP rm -rf ${SRCNAM}-${VERSION} tar xvf $CWD/${SRCNAM}-${VERSION}.tar.gz cd ${SRCNAM}-${VERSION} -tar xvf $CWD/${CRS_VERSION}.tar.gz +tar xvf $CWD/owasp-modsecurity-crs-${CRS_VERSION}.tar.gz chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -85,6 +85,7 @@ make install-strip DESTDIR=$PKG # It leaves two copies of the library, we'll only need one rm $PKG/usr/lib/*.so +rmdir --ignore-fail-on-non-empty $PKG/usr/lib mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a CHANGES LICENSE NOTICE README.TXT README_WINDOWS.TXT authors.txt \ |