mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: auto install caddy
This commit is contained in:
1 parent
d3046f8ead
commit
bf8e6e95b9
2 files changed
+63
-3
No files matched your search
@@ -1,4 +1,12 @@
|
||||
#!/bin/bash
|
||||
if [ $EUID != 0 ]; then
|
||||
echo "This script requires root however you are currently running under another user."
|
||||
echo "We will call sudo directly for you."
|
||||
echo "Please input your account password below:"
|
||||
echo "安装脚本需要使用 root 权限,请在下方输入此账号的密码确认授权:"
|
||||
sudo "$0" "$@"
|
||||
exit $?
|
||||
fi
|
||||
set -e
|
||||
echo "Executing Hydro install script v3.0.0"
|
||||
echo "Hydro includes anonymous system telemetry,
|
||||
|
||||
Reference in new issue
Block a user