diff --git a/ct/npmplus.sh b/ct/npmplus.sh index d8f2c6248..d0b2dbe10 100644 --- a/ct/npmplus.sh +++ b/ct/npmplus.sh @@ -36,7 +36,7 @@ function update_script() { ;; "2") msg_info "Updating NPMplus Container" - cd /opt 1 + cd /opt msg_info "Pulling latest container image" $STD docker compose pull msg_info "Recreating container" diff --git a/ct/peanut.sh b/ct/peanut.sh index 7aa8e171d..b38aaba6d 100644 --- a/ct/peanut.sh +++ b/ct/peanut.sh @@ -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 1 + tar -xzf peanut.tar.gz -C /opt/peanut --strip-components rm peanut.tar.gz cd /opt/peanut $STD pnpm i