From f74cba26b75694d9a62b98700b9e9dbbede88b8f Mon Sep 17 00:00:00 2001 From: curben Date: Wed, 10 Oct 2018 18:18:36 +1030 Subject: [PATCH] Use included zcat --- .gitlab-ci.yml | 2 +- utils/umbrella-top-1m.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e014d1f..2a6412fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ image: alpine:latest # Use latest version of Alpine Linux docker image before_script: # Install dependencies - - 'which ssh-agent || ( apk update && apk add openssh-client git wget unzip)' + - 'which ssh-agent || ( apk update && apk add openssh-client git wget)' # Run ssh-agent - eval $(ssh-agent -s) diff --git a/utils/umbrella-top-1m.sh b/utils/umbrella-top-1m.sh index 0eba9f02..44ea79fd 100644 --- a/utils/umbrella-top-1m.sh +++ b/utils/umbrella-top-1m.sh @@ -6,7 +6,7 @@ # Download the list wget -O- http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip | \ -# Unzip -funzip | \ +# Decompress the zip and write output to stdout +zcat -dc | \ # Parse domains only cut -f 2 -d ',' > ../src/top-1m.txt