From 37eff0eb6a122f681665b9cff8e6985296be9947 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 7 Jul 2023 00:43:15 -0400 Subject: [PATCH] Update rdtclient-install.sh tweak --- install/rdtclient-install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install/rdtclient-install.sh b/install/rdtclient-install.sh index b0d7122a..67eac42a 100644 --- a/install/rdtclient-install.sh +++ b/install/rdtclient-install.sh @@ -32,9 +32,10 @@ msg_info "Installing rdtclient" wget -q https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip unzip -qq RealDebridClient.zip -d /opt/rdtc rm RealDebridClient.zip -mkdir -p /data/db/ -mkdir -p /data/downloads -msg_info "Installed rdtclient" +cd /opt/rdtc +mkdir -p /data/db/ /data/downloads +sed -i 's#/data/db/#/opt/rdtc&#g' /opt/rdtc/appsettings.json +msg_ok "Installed rdtclient" msg_info "Creating Service" cat </etc/systemd/system/rdtc.service