fix basename -o

This commit is contained in:
CanbiZ
2025-04-01 10:58:29 +02:00
parent f7e7d457df
commit 8b66c8a9dc
207 changed files with 225 additions and 225 deletions

View File

@@ -38,7 +38,7 @@ function update_script() {
fi
mkdir -p rdtc-backup
cp -R /opt/rdtc/appsettings.json rdtc-backup/
curl -fsSL "https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip" -o $(basename"https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip")
curl -fsSL "https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip" -o $(basename "https://github.com/rogerfar/rdt-client/releases/latest/download/RealDebridClient.zip")
unzip -oqq RealDebridClient.zip -d /opt/rdtc
cp -R rdtc-backup/appsettings.json /opt/rdtc/
msg_ok "Updated ${APP}"