diff options
| author | Seyed Pouria Mousavizadeh Tehrani <p.mousavizadeh@protonmail.com> | 2025-09-11 07:01:54 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2025-09-11 07:03:48 +0000 |
| commit | 08b8843137b8be3f71608400907cb38bcda14965 (patch) | |
| tree | beaa6bb4dff912719b3e5583b095c6174f73aa8f | |
| parent | fc68f8aac623b5494484adfa41ac600415609870 (diff) | |
pkg(7): Add support for pkg+ prefix to bootstrap pubkey
MFC After: 1 day
Sponsored by: Amn Afzar Hoopad Inc
Differencial Revision: https://reviews.freebsd.org/D52418
| -rw-r--r-- | usr.sbin/pkg/pkg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/pkg.c b/usr.sbin/pkg/pkg.c index 7899fbaeaf09..7b0a67e69a4c 100644 --- a/usr.sbin/pkg/pkg.c +++ b/usr.sbin/pkg/pkg.c @@ -889,7 +889,7 @@ bootstrap_pkg(bool force, const char *fetchOpts, struct repository *repo) getenv("TMPDIR") ? getenv("TMPDIR") : _PATH_TMP, bootstrap_name); snprintf(url, MAXPATHLEN, "%s/Latest/%s.pubkeysig", - repo->url, bootstrap_name); + packagesite, bootstrap_name); if ((fd_sig = fetch_to_fd(repo, url, tmpsig, fetchOpts)) == -1) { fprintf(stderr, "Signature for pkg not " |
