mirror of https://github.com/tteck/Proxmox.git
Compare commits
3 Commits
0ee61aa092
...
dc1adaba01
Author | SHA1 | Date |
---|---|---|
tteckster | dc1adaba01 | |
tteckster | b14a33ffac | |
tteckster | 07df1c8373 |
|
@ -61,7 +61,7 @@ function update_script() {
|
||||||
fi
|
fi
|
||||||
if ! command -v pnpm &> /dev/null; then
|
if ! command -v pnpm &> /dev/null; then
|
||||||
msg_info "Installing pnpm"
|
msg_info "Installing pnpm"
|
||||||
export NODE_OPTIONS=--openssl-legacy-provider
|
#export NODE_OPTIONS=--openssl-legacy-provider
|
||||||
npm install -g pnpm@8.15 &>/dev/null
|
npm install -g pnpm@8.15 &>/dev/null
|
||||||
msg_ok "Installed pnpm"
|
msg_ok "Installed pnpm"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -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}"
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ unzip -q spoolman.zip -d spoolman
|
||||||
rm -rf spoolman.zip
|
rm -rf spoolman.zip
|
||||||
cd spoolman
|
cd spoolman
|
||||||
$STD pip3 install -r requirements.txt
|
$STD pip3 install -r requirements.txt
|
||||||
cp .env.example .env
|
wget -q https://raw.githubusercontent.com/Donkie/Spoolman/master/.env.example -O .env
|
||||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||||
msg_ok "Installed Spoolman"
|
msg_ok "Installed Spoolman"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue