فهرست منبع

Merge pull request #19516 from larsen0815/patch-2

Fixes #19502: Improve upgrade instructions
bctiemann 9 ماه پیش
والد
کامیت
98d9e7f8d5
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      docs/installation/upgrading.md

+ 3 - 1
docs/installation/upgrading.md

@@ -122,7 +122,7 @@ sudo cp /opt/netbox-$OLDVER/gunicorn.py /opt/netbox/
 
 ### Option B: Check Out a Git Release
 
-This guide assumes that NetBox is installed at `/opt/netbox`. First, determine the latest release either by visiting our [releases page](https://github.com/netbox-community/netbox/releases) or by running the following command:
+This guide assumes that NetBox is installed in `/opt/netbox`. First, determine the latest release either by visiting our [releases page](https://github.com/netbox-community/netbox/releases) or by running the following command:
 
 ```
 git ls-remote --tags https://github.com/netbox-community/netbox.git \
@@ -134,6 +134,8 @@ git ls-remote --tags https://github.com/netbox-community/netbox.git \
 Check out the desired release by specifying its tag. For example:
 
 ```
+cd /opt/netbox && \
+sudo git fetch && \
 sudo git checkout v4.2.7
 ```