Skip to content

Instantly share code, notes, and snippets.

@tadly
Last active February 25, 2020 12:19
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tadly/ea1f97598f2b76619ffb9420cdbf4b9b to your computer and use it in GitHub Desktop.
Save tadly/ea1f97598f2b76619ffb9420cdbf4b9b to your computer and use it in GitHub Desktop.
Check for the latest version of enpass
#!/usr/bin/env bash
curl --silent https://apt.enpass.io/dists/stable/main/binary-amd64/Packages.gz -o /tmp/enpass-packages.gz
gunzip /tmp/enpass-packages.gz
cat /tmp/enpass-packages | egrep "Package|Version|SHA256" | head -n 3
rm /tmp/enpass-packages
@rnbguy
Copy link

rnbguy commented Feb 25, 2020

curl -so- https://apt.enpass.io/dists/stable/main/binary-amd64/Packages.gz | zcat | egrep "Package|Version|SHA256" | head -n 3

@tadly
Copy link
Author

tadly commented Feb 25, 2020

That's.... very nice. Thanks a lot.
I'll be deleting this gist soon as it doesn't serve a purpose anymore :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment