ensure additional JSON files are in place (#11183)

This commit is contained in:
Chris authored and GitHub committed 2026-01-25 21:01:31 +01:00
1 parent 2a234829b8
commit f05927602c
2 files changed
+4

No files matched your search

+2
View File
@@ -53,6 +53,8 @@ function update_script() {
cp -R .next/standalone ./
chmod +x ./dist/cli.mjs
cp server/db/names.json ./dist/names.json
cp server/db/ios_models.json ./dist/ios_models.json
cp server/db/mac_models.json ./dist/mac_models.json
msg_ok "Updated Pangolin"
msg_info "Restoring config"
+2
View File
@@ -47,6 +47,8 @@ cd /opt/pangolin
EOF
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
cp server/db/names.json ./dist/names.json
cp server/db/ios_models.json ./dist/ios_models.json
cp server/db/mac_models.json ./dist/mac_models.json
mkdir -p /var/config
cat <<EOF >/opt/pangolin/config/config.yml