Skip to content

Commit c12470f

Browse files
authored
Fix: SABnzbd - Removed few artefacts in the code preventing the update (#2670)
* Fix copy files to folder * Fix untaring the archive
1 parent 6722e52 commit c12470f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ct/sabnzbd.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ function update_script() {
3131
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
3232
msg_info "Updating $APP to ${RELEASE}"
3333
systemctl stop sabnzbd.service
34-
$STD tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz)
35-
$STD \cp -r SABnzbd-${RELEASE}/* /opt/sabnzbd
34+
tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz)
35+
cp -rf SABnzbd-${RELEASE}/* /opt/sabnzbd
3636
rm -rf SABnzbd-${RELEASE}
3737
cd /opt/sabnzbd
3838
$STD python3 -m pip install -r requirements.txt

0 commit comments

Comments
 (0)