simplified

This commit is contained in:
Bryan Black 2017-11-08 14:02:07 -08:00
parent 4385ae5a9d
commit 135ea790e2

View file

@ -2,8 +2,8 @@
function sget() {
# cd to appropriate directory
wget -q $1
wget -q $2
wget -q $1
wget -q ${1}.minisig
fname=`basename $1`
if minisign -Vm $fname -P RWSmY4o5Bad1vS60aYAiQUswWYVV2EuSdqc3ry7CWWF1E6bVbFG9kR/y >/dev/null ; then
echo DEBUG: downloaded valid file $fname
@ -15,4 +15,4 @@ mv $fname $fname.minisig /tmp
return 1
}
sget $1 $2
sget $1