Skip to content

Commit

Permalink
Remove unnecessary pkg conf for FreeBSD
Browse files Browse the repository at this point in the history
GitHub link #11
  • Loading branch information
ccmywish committed Oct 5, 2023
1 parent 478f7b5 commit 23abd27
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions chsrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 23abd27

Please sign in to comment.