mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 05:15:04 +08:00
da155fadf2
* feat: 使用 goreleaser 构建包 Signed-off-by: 吴小白 <296015668@qq.com>
20 lines
450 B
Bash
Executable File
20 lines
450 B
Bash
Executable File
#!/bin/bash
|
|
|
|
command -v wget >/dev/null || {
|
|
echo "wget not found, please install it and try again ."
|
|
exit 1
|
|
}
|
|
|
|
if [ ! -f "1pctl" ]; then
|
|
wget https://github.com/1Panel-dev/installer/raw/main/1pctl
|
|
fi
|
|
|
|
if [ ! -f "1panel.service" ]; then
|
|
wget https://github.com/1Panel-dev/installer/raw/main/1panel.service
|
|
fi
|
|
|
|
if [ ! -f "install.sh" ]; then
|
|
wget https://github.com/1Panel-dev/installer/raw/main/install.sh
|
|
fi
|
|
|
|
chmod 755 1pctl install.sh |