File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ function update_script() {
3232 msg_info " Updating $APP to ${RELEASE} "
3333 systemctl stop peanut
3434 curl -fsSL " https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE} " -o " peanut.tar.gz"
35- tar -xzf peanut.tar.gz -C /opt/peanut --strip-components
35+ tar -xzf peanut.tar.gz -C /opt/peanut --strip-components=1
3636 rm peanut.tar.gz
3737 cd /opt/peanut
3838 $STD pnpm i
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ msg_info "Installing Peanut"
3434RELEASE=$( curl -fsSL https://api.github.com/repos/Brandawg93/PeaNUT/releases/latest | grep ' "tag_name":' | cut -d' "' -f4)
3535curl -fsSL " https://api.github.com/repos/Brandawg93/PeaNUT/tarball/${RELEASE} " -o " peanut.tar.gz"
3636mkdir -p /opt/peanut
37- tar -xzf peanut.tar.gz -C /opt/peanut --strip-components 1
37+ tar -xzf peanut.tar.gz -C /opt/peanut --strip-components= 1
3838rm peanut.tar.gz
3939cd /opt/peanut
4040$STD npm install -g pnpm
You can’t perform that action at this time.
0 commit comments