install: add warning for outdated installer

This commit is contained in:
undefined committed 2021-06-30 00:12:34 +08:00
1 parent cd4ada0845
commit 1226c1cb21
4 files changed
+22

No files matched your search

+6
View File
@@ -1,6 +1,12 @@
#!/bin/bash
name=focal
echo "Running Hydro Installer for ubuntu 20.04"
echo "此脚本已不再维护,推荐使用新版安装工具:"
echo "wget https://s3.undefined.moe/public/install -O install && chmod +x install && ./install"
echo "详情请参阅文档 -> https://hydro.js.org"
echo "使用 Ctrl-C 退出该脚本,或是等待十秒后继续。"
echo "Will continue installation in 10 secs, press Ctrl-C to exit"
sleep 10
MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)
MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)