Skip to content

Commit

Permalink
Add a comment to keep synchronised default download tool selection
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbou committed Nov 18, 2024
1 parent 7b4b653 commit 16a2019
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/client/opamInitDefaults.ml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ let req_dl_tools () =
let msg =
Some "A download tool is required, check env variables OPAMCURL or OPAMFETCH"
in
(* Keep synchronised with [OpamRepositoryConfig.default] *)
let default =
[
["curl"; "wget"], msg, Some not_open_free_bsd_filter;
Expand Down
1 change: 1 addition & 0 deletions src/repository/opamRepositoryConfig.ml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ type 'a options_fun =
'a

let default = {
(* Keep synchronised with [OpamInitDefaults.req_dl_tools] *)
download_tool = lazy (
let os = OpamStd.Sys.os () in
try
Expand Down

0 comments on commit 16a2019

Please sign in to comment.