From f7fdd6f6daad899f8de5a4eabff53f31986cad32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georges=20Dup=C3=A9ron?= Date: Sat, 16 Jun 2018 01:07:27 +0200 Subject: [PATCH] docs: upgrading: suggest using raco pkg migrate instead of mv --- .../getting-started/upgrading.scrbl | 23 ++----------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl b/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl index a0a6b1fe19..d642709151 100644 --- a/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl +++ b/pkgs/racket-doc/scribblings/getting-started/upgrading.scrbl @@ -4,33 +4,14 @@ @section{Linux} -@subsection{Upgrading from a release version to a newer release versions, or from a nightly to a newer nightly} - @itemlist[ @item{Download the newer release from @url{https://download.racket-lang.org/}.} @item{@code{chmod +x racket-X.Y-PLATFORM.sh}} @item{@code{./racket-X.Y-PLATFORM.sh} and answer the questions to choose where the new version should be installed.} + @item{@code{raco pkg migrate} @item{@code{raco setup}}] -@subsection{Upgrading from a release version to a nightly} - -@itemlist[ - @item{Download the newer release from @url{https://download.racket-lang.org/}.} - @item{@code{chmod +x racket-X.Y-PLATFORM.sh}} - @item{@code{./racket-X.Y-PLATFORM.sh} and answer the questions to choose where the new version should be installed.} - @item{@code{mv ~/.racket/snapshot ~/.racket/snapshot.bak} remove and make a backup of the old "snapshot" folder if one existed} - @item{@code{mv ~/.racket/OLD_VERSION ~/.racket/snapshot}} - @item{@code{raco setup}}] - -@subsection{Upgrading from a nightly to a release version} - -@itemlist[ - @item{Download the newer release from @url{https://download.racket-lang.org/}.} - @item{@code{chmod +x racket-X.Y-PLATFORM.sh}} - @item{@code{./racket-X.Y-PLATFORM.sh} and answer the questions to choose where the new version should be installed.} - @item{@code{mv ~/.racket/SOME_VERSION} remove and make a backup of the old "snapshot" folder if one existed} - @item{@code{mv ~/.racket/snapshot ~/.racket/SOME_VERSION}} - @item{@code{raco setup}}] +Note that in order to preserve the DrRacket preferences, it is currently necessary to manually copy the old Racket configuration folder to the new one (these folders can be @code{~/.racket/RACKET_VERSION} or @code{~/.racket/snapshot} for a nightly build). @section{Upgrading from earlier versions}