Update restore.sh

This commit is contained in:
悟空的日常镜像仓库 2024-07-02 13:34:46 +08:00
parent 79553ad690
commit d7b461a225

View File

@ -36,7 +36,7 @@ check_istoreos_style_installed() {
normal_restore() {
# 提示用户输入要恢复的文件路径
green "请输入要恢复的文件路径(默认: /tmp/upload/backup.tar.gz) "
read -p ":" file_path
read -p "在此处输入要恢复的备份文件路径:" file_path
# 如果用户没有输入,使用默认路径
if [ -z "$file_path" ]; then