Fix tar command (#3925)

This commit is contained in:
Slaviša Arežina
2025-04-17 15:09:18 +02:00
committed by GitHub
parent 3c909cabb6
commit 5dcb75a121
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ function update_script() {
msg_info "Updating $APP to ${RELEASE}"
systemctl stop peanut
curl -fsSL "https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE}" -o "peanut.tar.gz"
tar -xzf peanut.tar.gz -C /opt/peanut --strip-components
tar -xzf peanut.tar.gz -C /opt/peanut --strip-components=1
rm peanut.tar.gz
cd /opt/peanut
$STD pnpm i