mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-02-24 09:02:10 +08:00
parent
478f7b504b
commit
23abd27608
10
chsrc.c
10
chsrc.c
@ -1424,13 +1424,9 @@ os_freebsd_setsrc (char* option)
|
|||||||
|
|
||||||
char* pkg_content = xy_strjoin(4,
|
char* pkg_content = xy_strjoin(4,
|
||||||
source.mirror->code, ": { \n"
|
source.mirror->code, ": { \n"
|
||||||
" url: \"http://", source.url, "/freebsd-pkg/${ABI}/latest\",\n"
|
" url: \"http://", source.url, "/freebsd-pkg/${ABI}/latest\",\n"
|
||||||
" mirror_type: \"srv\",\n"
|
"}\n"
|
||||||
" signature_type: \"none\",\n"
|
"FreeBSD: { enabled: no }"
|
||||||
" fingerprints: \"/usr/share/keys/pkg\",\n"
|
|
||||||
" enabled: yes\n"
|
|
||||||
"}\n"
|
|
||||||
"FreeBSD: { enabled: no }"
|
|
||||||
);
|
);
|
||||||
|
|
||||||
chsrc_overwrite_file (pkg_content, conf);
|
chsrc_overwrite_file (pkg_content, conf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user