mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-08-30 17:55:08 +08:00
feat: Compatible with system upgrades for v1.10.30 and earlier versions
This commit is contained in:
@@ -40,6 +40,7 @@ archives:
|
||||
files:
|
||||
- 1pctl
|
||||
- install.sh
|
||||
- 1panel.service
|
||||
- initscript/*
|
||||
- lang/*
|
||||
- GeoIP.mmdb
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user