simplified
This commit is contained in:
parent
4385ae5a9d
commit
135ea790e2
|
@ -3,7 +3,7 @@
|
||||||
function sget() {
|
function sget() {
|
||||||
# cd to appropriate directory
|
# cd to appropriate directory
|
||||||
wget -q $1
|
wget -q $1
|
||||||
wget -q $2
|
wget -q ${1}.minisig
|
||||||
fname=`basename $1`
|
fname=`basename $1`
|
||||||
if minisign -Vm $fname -P RWSmY4o5Bad1vS60aYAiQUswWYVV2EuSdqc3ry7CWWF1E6bVbFG9kR/y >/dev/null ; then
|
if minisign -Vm $fname -P RWSmY4o5Bad1vS60aYAiQUswWYVV2EuSdqc3ry7CWWF1E6bVbFG9kR/y >/dev/null ; then
|
||||||
echo DEBUG: downloaded valid file $fname
|
echo DEBUG: downloaded valid file $fname
|
||||||
|
@ -15,4 +15,4 @@ mv $fname $fname.minisig /tmp
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
sget $1 $2
|
sget $1
|
Loading…
Reference in a new issue