mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 18:04:38 +00:00
Fix files not copying to correct directory (#2521)
This commit is contained in:
parent
bedfbd232d
commit
15d20a54b3
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@ function update_script() {
|
|||
cd /opt
|
||||
wget -q "https://github.com/stonith404/pingvin-share/archive/refs/tags/v${RELEASE}.zip"
|
||||
unzip -q v${RELEASE}.zip
|
||||
mv pingvin-share-${RELEASE} /opt/pingvin-share
|
||||
cp -rf pingvin-share-${RELEASE}/* /opt/pingvin-share
|
||||
cd /opt/pingvin-share
|
||||
cd backend
|
||||
npm install &>/dev/null
|
||||
|
@ -49,6 +49,7 @@ function update_script() {
|
|||
npm run build &>/dev/null
|
||||
echo "${RELEASE}" >"/opt/pingvin_version.txt"
|
||||
rm -rf /opt/v${RELEASE}.zip
|
||||
rm -rf /opt/pingvin-share-${RELEASE}
|
||||
msg_ok "Updated Pingvin Share to v${RELEASE}"
|
||||
|
||||
msg_info "Starting Pingvin Share"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue