Merge pull request #252 from danny6167/patch-1

Remove  --strip-components=1 from tar command in upgrade guide
This commit is contained in:
Dane Everitt 2020-08-31 22:54:33 -07:00 committed by GitHub
commit 5d72a3f176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ curl -L -o panel.tar.gz https://github.com/pterodactyl/panel/releases/download/v
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.
tar --strip-components=1 -xzvf panel.tar.gz && rm -rf panel.tar.gz
tar -xzvf 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