summaryrefslogtreecommitdiff
path: root/network/fail2ban/fail2ban.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-09 07:40:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-09 07:40:34 +0700
commitd25207a8b488d0b7a604ab2b395b91c508089c8c (patch)
tree1f71cb2b3d4ab9216ff817aa95972230eb825f4d /network/fail2ban/fail2ban.SlackBuild
parentf49d71e4720a4d81603a1494766e8b21b97b1837 (diff)
downloadslackbuilds-d25207a8b488d0b7a604ab2b395b91c508089c8c.tar.gz
network/fail2ban: Updated for version 0.9.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/fail2ban/fail2ban.SlackBuild')
-rw-r--r--network/fail2ban/fail2ban.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/fail2ban/fail2ban.SlackBuild b/network/fail2ban/fail2ban.SlackBuild
index 22ffd4e997..45af0bb7f1 100644
--- a/network/fail2ban/fail2ban.SlackBuild
+++ b/network/fail2ban/fail2ban.SlackBuild
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="fail2ban"
-VERSION=${VERSION:-0.9.2}
+VERSION=${VERSION:-0.9.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,7 @@ set -e
rm -fr $PKG $TMP/$PRGNAM-$VERSION
mkdir -p $PKG $TMP $OUTPUT
cd $TMP
-tar xvf $CWD/${PRGNAM}-${VERSION}.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $TMP/$PRGNAM-$VERSION
chown -R root.root .
find -L . \