We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6722e52 commit c12470fCopy full SHA for c12470f
ct/sabnzbd.sh
@@ -31,8 +31,8 @@ function update_script() {
31
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
32
msg_info "Updating $APP to ${RELEASE}"
33
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
+ tar zxvf <(curl -fsSL https://github.com/sabnzbd/sabnzbd/releases/download/$RELEASE/SABnzbd-${RELEASE}-src.tar.gz)
+ cp -rf SABnzbd-${RELEASE}/* /opt/sabnzbd
36
rm -rf SABnzbd-${RELEASE}
37
cd /opt/sabnzbd
38
$STD python3 -m pip install -r requirements.txt
0 commit comments