docs: upgrading: suggest using raco pkg migrate instead of mv

This commit is contained in:
Georges Dupéron 2018-06-16 01:07:27 +02:00
parent 3792083214
commit f7fdd6f6da

View File

@ -4,33 +4,14 @@
@section{Linux} @section{Linux}
@subsection{Upgrading from a release version to a newer release versions, or from a nightly to a newer nightly}
@itemlist[ @itemlist[
@item{Download the newer release from @url{https://download.racket-lang.org/}.} @item{Download the newer release from @url{https://download.racket-lang.org/}.}
@item{@code{chmod +x racket-X.Y-PLATFORM.sh}} @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{./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}}] @item{@code{raco setup}}]
@subsection{Upgrading from a release version to a nightly} 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).
@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}}]
@section{Upgrading from earlier versions} @section{Upgrading from earlier versions}