get-fedora-latest-config: download relatively to current directory
This commit is contained in:
parent
a5a4ae6735
commit
5a1a029434
@ -43,7 +43,7 @@ fi
|
||||
if [ "x$latestrpm" != "x" ] && [ "x$releasever" != "x" ]; then
|
||||
key="$localdir/keys/RPM-GPG-KEY-fedora-$releasever-primary"
|
||||
|
||||
tmpdir=$(mktemp -d)
|
||||
tmpdir="$(mktemp -d -p "$localdir")"
|
||||
# download latest kernel rpm
|
||||
dnf -q download kernel-core --disablerepo=*modular* --releasever="$releasever"
|
||||
mv "$latestrpm" "$tmpdir/$latestrpm.untrusted"
|
||||
|
Loading…
Reference in New Issue
Block a user