From 23abd27608fc087bcd829d2ac26e06c924aa680a Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Thu, 5 Oct 2023 17:22:54 +0800 Subject: [PATCH] Remove unnecessary pkg conf for FreeBSD GitHub link #11 --- chsrc.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/chsrc.c b/chsrc.c index ad0605a9..4a5177d1 100644 --- a/chsrc.c +++ b/chsrc.c @@ -1424,13 +1424,9 @@ os_freebsd_setsrc (char* option) char* pkg_content = xy_strjoin(4, source.mirror->code, ": { \n" - " url: \"http://", source.url, "/freebsd-pkg/${ABI}/latest\",\n" - " mirror_type: \"srv\",\n" - " signature_type: \"none\",\n" - " fingerprints: \"/usr/share/keys/pkg\",\n" - " enabled: yes\n" - "}\n" - "FreeBSD: { enabled: no }" + " url: \"http://", source.url, "/freebsd-pkg/${ABI}/latest\",\n" + "}\n" + "FreeBSD: { enabled: no }" ); chsrc_overwrite_file (pkg_content, conf);