1
0
mirror of https://github.com/tteck/Proxmox.git synced 2024-12-23 02:04:42 +02:00

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}"