Konstantin Demin
8834da817c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
15 lines
179 B
Bash
15 lines
179 B
Bash
#!/bin/zsh
|
|
|
|
gpg-warmup() {
|
|
(( ${+commands[gpg]} )) || return 127
|
|
|
|
local t r
|
|
|
|
t=$(mktemp)
|
|
command gpg -abs "$t"
|
|
r=$?
|
|
rm -f "$t" "$t.asc"
|
|
|
|
return "$r"
|
|
}
|