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

+4
View File
@@ -5,6 +5,10 @@ echo "CENTOS IS NOT RECOMMENDED TO USE."
echo "PLEASE USE UBUNTU INSTEAD." echo "PLEASE USE UBUNTU INSTEAD."
echo "THIS SCRIPT MAY NOT WORK PROPERLY." echo "THIS SCRIPT MAY NOT WORK PROPERLY."
echo "Will continue installation in 10 secs, press Ctrl-C to exit" echo "Will continue installation in 10 secs, press Ctrl-C to exit"
echo "非常不推荐使用CentOS!"
echo "请切换到 ubuntu 操作系统!"
echo "此脚本可能无法正常工作"
echo "使用 Ctrl-C 退出该脚本。"
sleep 10 sleep 10
db_password=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) db_password=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)
MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20) MINIO_ACCESS_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)
+6
View File
@@ -1,6 +1,12 @@
#!/bin/bash #!/bin/bash
name=xenial name=xenial
echo "Running Hydro Installer for ubuntu 16.04" echo "Running Hydro Installer for ubuntu 16.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_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) MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)
+6
View File
@@ -1,6 +1,12 @@
#!/bin/bash #!/bin/bash
name=bionic name=bionic
echo "Running Hydro Installer for ubuntu 18.04" echo "Running Hydro Installer for ubuntu 18.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_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) MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)
+6
View File
@@ -1,6 +1,12 @@
#!/bin/bash #!/bin/bash
name=focal name=focal
echo "Running Hydro Installer for ubuntu 20.04" 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_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) MINIO_SECRET_KEY=$(cat /dev/urandom | head -n 10 | md5sum | head -c 20)