Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

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

This comment has been minimized.

Copy link
Owner 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
You can’t perform that action at this time.