Update spoolman.sh

fix `.env` path
fixes https://github.com/tteck/Proxmox/issues/3712
This commit is contained in:
tteckster 2024-09-11 13:22:38 -04:00 committed by GitHub
parent 0ee61aa092
commit 07df1c8373
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
unzip -q spoolman.zip -d spoolman unzip -q spoolman.zip -d spoolman
cd spoolman cd spoolman
pip3 install -r requirements.txt >/dev/null 2>&1 pip3 install -r requirements.txt >/dev/null 2>&1
cp .env.example .env wget -q https://raw.githubusercontent.com/Donkie/Spoolman/master/.env.example -O .env
echo "${RELEASE}" >/opt/${APP}_version.txt echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP} to ${RELEASE}" msg_ok "Updated ${APP} to ${RELEASE}"