diff --git a/install/spoolman-install.sh b/install/spoolman-install.sh index d4d69da3..d85e540d 100644 --- a/install/spoolman-install.sh +++ b/install/spoolman-install.sh @@ -36,11 +36,10 @@ $STD apt-get install -y \ msg_ok "Installed Python3" msg_info "Installing Spoolman" -cd /opt RELEASE=$(wget -q https://github.com/Donkie/Spoolman/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) cd /opt wget -q https://github.com/Donkie/Spoolman/releases/download/$RELEASE/spoolman.zip -unzip -q spoolman.zip -d spoolman +unzip -q spoolman.zip rm -rf spoolman.zip cd spoolman $STD pip3 install -r requirements.txt