diff --git a/source/cpan-modules/cpan-modules.SlackBuild b/source/cpan-modules/cpan-modules.SlackBuild index cd752cb..1b51d05 100755 --- a/source/cpan-modules/cpan-modules.SlackBuild +++ b/source/cpan-modules/cpan-modules.SlackBuild @@ -179,7 +179,7 @@ rm -rf "$BUILD_WORKDIR/$PKG_NAME-$PKG_VERSION" || die "Failed to clear cpam home [[ -n "${SRC_FILENAMES[*]}" ]] && { while read -r SRC; do case "$SRC" in - *.tar.?z|*.t?z) + *.tar.*|*.t?z) tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC" ;; *.zip|*.ZIP) diff --git a/source/fail2ban/fail2ban.SlackBuild b/source/fail2ban/fail2ban.SlackBuild index d009738..ed08252 100755 --- a/source/fail2ban/fail2ban.SlackBuild +++ b/source/fail2ban/fail2ban.SlackBuild @@ -178,7 +178,7 @@ rm -rf "$BUILD_ROOT" && mkdir -m 755 "$BUILD_ROOT" || die "Failed to clear build [[ -n "${SRC_FILENAMES[*]}" ]] && { while read -r SRC; do case "$SRC" in - *.tar.?z|*.t?z) + *.tar.*|*.t?z) tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC" ;; *.zip|*.ZIP) diff --git a/source/pyinotify/pyinotify.SlackBuild b/source/pyinotify/pyinotify.SlackBuild index 93771da..76148da 100755 --- a/source/pyinotify/pyinotify.SlackBuild +++ b/source/pyinotify/pyinotify.SlackBuild @@ -178,7 +178,7 @@ rm -rf "$BUILD_ROOT" && mkdir -m 755 "$BUILD_ROOT" || die "Failed to clear build [[ -n "${SRC_FILENAMES[*]}" ]] && { while read -r SRC; do case "$SRC" in - *.tar.?z|*.t?z) + *.tar.*|*.t?z) tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC" ;; *.zip|*.ZIP) diff --git a/templates/template.SlackBuild b/templates/template.SlackBuild index 3a2f5b9..9ca9a61 100755 --- a/templates/template.SlackBuild +++ b/templates/template.SlackBuild @@ -178,7 +178,7 @@ rm -rf "$BUILD_ROOT" && mkdir -m 755 "$BUILD_ROOT" || die "Failed to clear build [[ -n "${SRC_FILENAMES[*]}" ]] && { while read -r SRC; do case "$SRC" in - *.tar.?z|*.t?z) + *.tar.*|*.t?z) tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC" ;; *.zip|*.ZIP)