mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-26 02:14:58 +02:00
fix(open-archiver): approve pnpm build scripts before build:oss
This commit is contained in:
@@ -43,6 +43,7 @@ function update_script() {
|
||||
msg_info "Updating Open Archiver"
|
||||
cd /opt/openarchiver
|
||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||
$STD pnpm approve-builds --yes
|
||||
$STD pnpm run build:oss
|
||||
$STD pnpm db:migrate
|
||||
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|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
|
||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||
$STD pnpm approve-builds --yes
|
||||
$STD pnpm run build:oss
|
||||
$STD pnpm db:migrate
|
||||
msg_ok "Setup Open Archiver"
|
||||
|
||||
Reference in New Issue
Block a user