mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-28 19:44:43 +00:00
fix(open-archiver): approve pnpm build scripts before build:oss (#14711)
This commit is contained in:
committed by
GitHub
parent
bb5f531761
commit
37649c1e0a
@@ -43,6 +43,7 @@ function update_script() {
|
|||||||
msg_info "Updating Open Archiver"
|
msg_info "Updating Open Archiver"
|
||||||
cd /opt/openarchiver
|
cd /opt/openarchiver
|
||||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||||
|
$STD pnpm approve-builds --yes
|
||||||
$STD pnpm run build:oss
|
$STD pnpm run build:oss
|
||||||
$STD pnpm db:migrate
|
$STD pnpm db:migrate
|
||||||
msg_ok "Updated Open Archiver"
|
msg_ok "Updated Open Archiver"
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.en
|
|||||||
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
|
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
|
||||||
sed -i "s|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
|
sed -i "s|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
|
||||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||||
|
$STD pnpm approve-builds --yes
|
||||||
$STD pnpm run build:oss
|
$STD pnpm run build:oss
|
||||||
$STD pnpm db:migrate
|
$STD pnpm db:migrate
|
||||||
msg_ok "Setup Open Archiver"
|
msg_ok "Setup Open Archiver"
|
||||||
|
|||||||
Reference in New Issue
Block a user