mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-02-03 20:03:25 +01:00
ensure additional JSON files are in place (#11183)
This commit is contained in:
@@ -53,6 +53,8 @@ function update_script() {
|
|||||||
cp -R .next/standalone ./
|
cp -R .next/standalone ./
|
||||||
chmod +x ./dist/cli.mjs
|
chmod +x ./dist/cli.mjs
|
||||||
cp server/db/names.json ./dist/names.json
|
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_ok "Updated Pangolin"
|
||||||
|
|
||||||
msg_info "Restoring config"
|
msg_info "Restoring config"
|
||||||
|
|||||||
@@ -47,6 +47,8 @@ cd /opt/pangolin
|
|||||||
EOF
|
EOF
|
||||||
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
|
chmod +x /usr/local/bin/pangctl ./dist/cli.mjs
|
||||||
cp server/db/names.json ./dist/names.json
|
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
|
mkdir -p /var/config
|
||||||
|
|
||||||
cat <<EOF >/opt/pangolin/config/config.yml
|
cat <<EOF >/opt/pangolin/config/config.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user