feat: Compatible with system upgrades for v1.10.30 and earlier versions
Some checks failed
SonarCloud Scan / SonarCloud (push) Failing after 3s

This commit is contained in:
wanghe-fit2cloud 2025-06-24 17:32:23 +08:00
parent 8f8d280e90
commit 73930c5e29
2 changed files with 2 additions and 0 deletions

View file

@ -40,6 +40,7 @@ archives:
files:
- 1pctl
- install.sh
- 1panel.service
- initscript/*
- lang/*
- GeoIP.mmdb

View file

@ -14,6 +14,7 @@ if [ ! -f "install.sh" ]; then
fi
if [ ! -d "initscript" ]; then
wget https://github.com/1Panel-dev/installer/raw/main/initscript/1panel.service
mkdir -p initscript && cd initscript
for file in 1panel.service 1paneld.init 1paneld.openrc 1paneld.procd; do
wget -q https://github.com/1Panel-dev/installer/raw/main/initscript/$file