mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-25 11:11:02 +00:00
Pf2eTools & 5eTools: Fixing npm build (#1213)
* Fixing #1195 * Fixing also for 5etools. * Update 5etools.sh * Update pf2etools.sh * Update 5etools-install.sh * Update pf2etools-install.sh * Update 5etools-install.sh * Update pf2etools-install.sh * remove pnpm * remove pnpm --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
@@ -51,6 +51,10 @@ function update_script() {
|
||||
rm -rf "/opt/${APP}"
|
||||
mv "${APP}-src-${RELEASE:1}" "/opt/${APP}"
|
||||
mv "/opt/img-backup" "/opt/${APP}/img"
|
||||
cd /opt/5etools
|
||||
$STD npm install
|
||||
$STD npm run build
|
||||
cd ~
|
||||
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
||||
msg_ok "Updated base 5etools"
|
||||
|
||||
|
@@ -50,6 +50,10 @@ function update_script() {
|
||||
unzip -q "${RELEASE}.zip"
|
||||
rm -rf "/opt/${APP}"
|
||||
mv "${APP}-${RELEASE:1}" "/opt/${APP}"
|
||||
cd /opt/Pf2eTools
|
||||
$STD npm install
|
||||
$STD npm run build
|
||||
cd ~
|
||||
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
|
Reference in New Issue
Block a user