mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 00:09:16 +08:00
chore: Include language packs when building the installation package
This commit is contained in:
parent
4635047004
commit
06cc7fcc02
@ -42,7 +42,7 @@ archives:
|
|||||||
- install.sh
|
- install.sh
|
||||||
- README.md
|
- README.md
|
||||||
- LICENSE
|
- LICENSE
|
||||||
- GeoIP.mmdb
|
- lang/*
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
|
@ -21,4 +21,10 @@ if [ ! -f "GeoIP.mmdb" ]; then
|
|||||||
wget https://resource.1panel.hk/geo/GeoIP.mmdb
|
wget https://resource.1panel.hk/geo/GeoIP.mmdb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "lang.tar.gz" ]; then
|
||||||
|
wget https://resource.1panel.hk/language/lang.tar.gz
|
||||||
|
tar zxvf lang.tar.gz
|
||||||
|
rm -rf lang.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
chmod 755 1pctl install.sh
|
chmod 755 1pctl install.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user