From ca6d12b00b08600cc3473e2925ebafaa49f6b636 Mon Sep 17 00:00:00 2001 From: Kate Date: Thu, 3 Oct 2024 16:41:06 +0100 Subject: [PATCH] Documentation: Update the command to install opam to point to the new simplified url on opam.ocaml.org At present this is a redirection to the same script on github --- doc/pages/Install.md | 4 ++-- master_changes.md | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/pages/Install.md b/doc/pages/Install.md index 4c484372f03..5b1fb068eef 100644 --- a/doc/pages/Install.md +++ b/doc/pages/Install.md @@ -23,11 +23,11 @@ Then see the [Upgrade guide](Upgrade_guide.html) to check the changes. The quickest way to get the latest opam up and working is to run [this script](https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh): ``` -bash -c "sh <(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)" +bash -c "sh <(curl -fsSL https://opam.ocaml.org/install.sh)" ``` or [this script](https://raw.githubusercontent.com/ocaml/opam/master/shell/install.ps1) on Windows using PowerShell: ``` -Invoke-Expression "& { $(Invoke-RestMethod https://raw.githubusercontent.com/ocaml/opam/master/shell/install.ps1) }" +Invoke-Expression "& { $(Invoke-RestMethod https://opam.ocaml.org/install.ps1) }" ``` This will simply check your architecture, download and install the proper diff --git a/master_changes.md b/master_changes.md index 313b5b7dd60..f0fbb3a3104 100644 --- a/master_changes.md +++ b/master_changes.md @@ -113,6 +113,7 @@ users) ## Github Actions ## Doc + * Update the command to install opam to point to the new simplified url on opam.ocaml.org [#6226 @kit-ty-kate] ## Security fixes