fix basename for curl

This commit is contained in:
CanbiZ 2025-04-01 10:51:52 +02:00
parent 0ed9e8c205
commit f7e7d457df
207 changed files with 298 additions and 298 deletions

View file

@ -38,7 +38,7 @@ function update_script() {
cd /opt
rm -rf spoolman_bak
mv spoolman spoolman_bak
curl -fsSL "https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip" -O $(basename "https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip")
curl -fsSL "https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip" -o $(basename"https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip")
unzip -q spoolman.zip -d spoolman
cd spoolman
$STD pip3 install -r requirements.txt