aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2022-05-06 12:41:43 -0300
committerSilvio Rhatto <rhatto@riseup.net>2022-05-06 12:41:43 -0300
commit79e203883cfdc898e8651936dbdea68314310010 (patch)
treedc00c9839b49a523f4a58f4ecc775eb9bd4474d7
parent90d6e575d733bf4a19598db6e25b73237f6d5394 (diff)
downloadtrashman-79e203883cfdc898e8651936dbdea68314310010.tar.gz
trashman-79e203883cfdc898e8651936dbdea68314310010.tar.bz2
Hoarder: adds awscli2 (2)
-rwxr-xr-xshare/hoarder/awscli2/unix/linux/install5
1 files changed, 3 insertions, 2 deletions
diff --git a/share/hoarder/awscli2/unix/linux/install b/share/hoarder/awscli2/unix/linux/install
index edb9cfa..1d28beb 100755
--- a/share/hoarder/awscli2/unix/linux/install
+++ b/share/hoarder/awscli2/unix/linux/install
@@ -19,11 +19,12 @@ URL="https://awscli.amazonaws.com/$FILE"
WORK="`mktemp -d`" || exit 1
# Download
-wget "$URL" -O $WORK/$FILE || exit 1
+wget "$URL" -O $WORK/$FILE || exit 1
+wget "$URL.sig" -O $WORK/$FILE.sig || exit 1
# Verify
gpg --homedir $WORK/.gnupg --import $SHARE/awscli2/unix/linux/files/awscli2.asc || exit 1
-gpg --homedir $WORK/.gnupg --verify $WORK/$FILE || exit 1
+gpg --homedir $WORK/.gnupg --verify $WORK/$FILE.sig || exit 1
rm -rf $WORK/.gnupg || exit 1
# Unpack