bins/sfetch: shhhh
This commit is contained in:
parent
02e4a50735
commit
b7b86a61d8
@ -10,8 +10,8 @@
|
|||||||
MACHINE=amd64
|
MACHINE=amd64
|
||||||
V=$(echo $ITEM | sed 's/[^0-9]//g')
|
V=$(echo $ITEM | sed 's/[^0-9]//g')
|
||||||
[[ ! -z $2 ]] && MACHINE=$2
|
[[ ! -z $2 ]] && MACHINE=$2
|
||||||
${curl}/bin/curl -o "$PWD/$ITEM" "https://$SERVER/pub/OpenBSD/snapshots/$MACHINE/$ITEM" && \
|
${curl}/bin/curl -s -o "$PWD/$ITEM" "https://$SERVER/pub/OpenBSD/snapshots/$MACHINE/$ITEM" && \
|
||||||
${curl}/bin/curl -o "$PWD/SHA256.sig" "https://$SERVER/pub/OpenBSD/snapshots/$MACHINE/SHA256.sig"
|
${curl}/bin/curl -s -o "$PWD/SHA256.sig" "https://$SERVER/pub/OpenBSD/snapshots/$MACHINE/SHA256.sig"
|
||||||
|
|
||||||
${gosignify}/bin/gosignify -C -p "/etc/signify/openbsd-$V-base.pub" -x SHA256.sig "$ITEM"
|
${gosignify}/bin/gosignify -C -p "/etc/signify/openbsd-$V-base.pub" -x SHA256.sig "$ITEM"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user