We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bedfbd2 commit 15d20a5Copy full SHA for 15d20a5
ct/pingvin.sh
@@ -39,7 +39,7 @@ function update_script() {
39
cd /opt
40
wget -q "https://github.com/stonith404/pingvin-share/archive/refs/tags/v${RELEASE}.zip"
41
unzip -q v${RELEASE}.zip
42
- mv pingvin-share-${RELEASE} /opt/pingvin-share
+ cp -rf pingvin-share-${RELEASE}/* /opt/pingvin-share
43
cd /opt/pingvin-share
44
cd backend
45
npm install &>/dev/null
@@ -49,6 +49,7 @@ function update_script() {
49
npm run build &>/dev/null
50
echo "${RELEASE}" >"/opt/pingvin_version.txt"
51
rm -rf /opt/v${RELEASE}.zip
52
+ rm -rf /opt/pingvin-share-${RELEASE}
53
msg_ok "Updated Pingvin Share to v${RELEASE}"
54
55
msg_info "Starting Pingvin Share"
0 commit comments