install: avoid local gpg configuration for non-local verify step
This commit is contained in:
parent
e6a2a7aa62
commit
1d8dd56e16
1 changed files with 1 additions and 1 deletions
|
|
@ -241,7 +241,7 @@ fi
|
|||
if [ "$verify" -eq 1 ]; then
|
||||
curl -fL "$url.sig" -o "$tmp_path/$filename.$ext.sig"
|
||||
curl -fL 'https://flow-control.dev/public.gpg' -o "$tmp_path/flow-control-public.gpg"
|
||||
gpg --no-default-keyring --keyring "$tmp_path/flow-control-public.gpg" --verify "$tmp_path/$filename.$ext.sig" "$tmp_path/$filename.$ext"
|
||||
gpg --homedir "$tmp_path/" --no-options --no-default-keyring --keyring "$tmp_path/flow-control-public.gpg" --verify "$tmp_path/$filename.$ext.sig" "$tmp_path/$filename.$ext"
|
||||
|
||||
if [ "$local" -eq 1 ]; then
|
||||
gpg --verify "$tmp_path/$filename.$ext.sig" "$tmp_path/$filename.$ext"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue