From 79e203883cfdc898e8651936dbdea68314310010 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 6 May 2022 12:41:43 -0300 Subject: Hoarder: adds awscli2 (2) --- share/hoarder/awscli2/unix/linux/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'share/hoarder/awscli2/unix/linux') 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 -- cgit v1.2.3