mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 16:59:17 +00:00
Compare commits
2 Commits
e319355859
...
13175efbd8
Author | SHA1 | Date | |
---|---|---|---|
|
13175efbd8 | ||
|
4a8239b2ce |
@ -52,7 +52,9 @@ function update_script() {
|
||||
cd /opt/homepage
|
||||
npx update-browserslist-db@latest
|
||||
pnpm install
|
||||
NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build
|
||||
export NEXT_PUBLIC_VERSION=v$RELEASE
|
||||
export NEXT_PUBLIC_REVISION='source'
|
||||
pnpm build
|
||||
systemctl start homepage
|
||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||
msg_ok "Updated Homepage to v${RELEASE}"
|
||||
|
@ -43,7 +43,8 @@ rm -rf homepage-${RELEASE}
|
||||
cd /opt/homepage
|
||||
cp /opt/homepage/src/skeleton/* /opt/homepage/config
|
||||
$STD pnpm install
|
||||
$STD NEXT_PUBLIC_VERSION=v$RELEASE NEXT_PUBLIC_REVISION='source' pnpm build
|
||||
$STD export NEXT_PUBLIC_VERSION=v$RELEASE
|
||||
$STD export NEXT_PUBLIC_REVISION='source' $STD pnpm build
|
||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||
msg_ok "Installed Homepage v${RELEASE}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user