Fix commands

This commit is contained in:
Dane Everitt 2020-08-30 10:27:12 -07:00
parent fe4f213691
commit de5dd1d85e
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -30,10 +30,10 @@ are not always detected properly, so simply uppacking over this location will re
# 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.0.0-rc.2/panel.tar.gz
rm -f $(find app public resources -d | head -n -1 | grep -Fv "$(tar -tf panel.tar.gz)")
rm -rf $(find app public resources -d | head -n -1 | grep -Fv "$(tar -tf panel.tar.gz)")
# Download the updated files and delete the archive file.
tar --strip-components=1 -xzv && rm -rf panel.tar.gz
tar --strip-components=1 -xzv panel.tar.gz && rm -rf panel.tar.gz
```
Once all of the files are downloaded we need to set the correct permissions on the cache and storage directories to avoid