mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
fixup! fixup! fixup! apt_key: refatoring
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
parent
cd2242b5d8
commit
d09e382034
1 changed files with 2 additions and 2 deletions
|
@ -1894,7 +1894,7 @@ __temp_gpg_pub() {
|
|||
__apt_key_fetch() {
|
||||
url=$1
|
||||
|
||||
tempfile="$(__temp_gpg_pub)" || return 1
|
||||
tempfile="$(__temp_gpg_pub)"
|
||||
|
||||
__fetch_url "$tempfile" "$url" || return 1
|
||||
apt-key add "$tempfile" || return 1
|
||||
|
@ -1912,7 +1912,7 @@ __apt_key_fetch() {
|
|||
__rpm_import_gpg() {
|
||||
url=$1
|
||||
|
||||
tempfile="$(__temp_gpg_pub)" || return 1
|
||||
tempfile="$(__temp_gpg_pub)"
|
||||
|
||||
__fetch_url "$tempfile" "$url" || return 1
|
||||
rpm --import "$tempfile" || return 1
|
||||
|
|
Loading…
Add table
Reference in a new issue