fixup! fixup! fixup! apt_key: refatoring

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
Yoan Blanc 2019-05-13 10:45:33 +02:00
parent cd2242b5d8
commit d09e382034
No known key found for this signature in database
GPG key ID: 6058CF4574298812

View file

@ -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