mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 09:17:40 -06:00
Use "latest" rather than hard-coded link versions (#311)
This commit is contained in:
parent
69a9508791
commit
a9a3a7ca7d
@ -88,7 +88,7 @@ and then set the correct permissions on the `storage/` and `bootstrap/cache/` di
|
||||
allow us to store files as well as keep a speedy cache available to reduce load times.
|
||||
|
||||
``` bash
|
||||
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v1.2.1/panel.tar.gz
|
||||
curl -Lo panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
|
||||
tar -xzvf panel.tar.gz
|
||||
chmod -R 755 storage/* bootstrap/cache/
|
||||
```
|
||||
|
||||
@ -49,7 +49,7 @@ are not always detected properly, so simply uppacking over this location will re
|
||||
``` bash
|
||||
# Delete the app directory to ensure we start with a clean slate here. This will not affect any
|
||||
# of your settings or servers.
|
||||
curl -L -o panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v1.2.1/panel.tar.gz
|
||||
curl -L -o panel.tar.gz https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz
|
||||
rm -rf $(find app public resources -depth | head -n -1 | grep -Fv "$(tar -tf panel.tar.gz)")
|
||||
|
||||
# Download the updated files and delete the archive file.
|
||||
|
||||
@ -18,7 +18,7 @@ into your current folder.
|
||||
:::
|
||||
|
||||
``` bash
|
||||
curl -L https://github.com/pterodactyl/panel/releases/download/v1.2.1/panel.tar.gz | tar -xzv
|
||||
curl -L https://github.com/pterodactyl/panel/releases/latest/download/panel.tar.gz | tar -xzv
|
||||
```
|
||||
|
||||
Once all of the files are downloaded we need to set the correct permissions on the cache and storage directories to avoid
|
||||
|
||||
@ -95,7 +95,7 @@ run the commands below which will create the base directory and download the win
|
||||
|
||||
``` bash
|
||||
mkdir -p /etc/pterodactyl
|
||||
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/v1.2.3/wings_linux_amd64
|
||||
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
|
||||
chmod u+x /usr/local/bin/wings
|
||||
```
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@ run the commands below which will create the base directory and download the win
|
||||
|
||||
``` bash
|
||||
mkdir -p /etc/pterodactyl
|
||||
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/v1.2.3/wings_linux_amd64
|
||||
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
|
||||
chmod u+x /usr/local/bin/wings
|
||||
```
|
||||
|
||||
|
||||
@ -9,7 +9,7 @@ First, download the updated wings binary into `/usr/local/bin`.
|
||||
:::
|
||||
|
||||
``` bash
|
||||
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/download/v1.2.3/wings_linux_amd64
|
||||
curl -L -o /usr/local/bin/wings https://github.com/pterodactyl/wings/releases/latest/download/wings_linux_amd64
|
||||
chmod u+x /usr/local/bin/wings
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user