Compare commits

...

3 Commits

Author SHA1 Message Date
github-actions[bot]
4f0a4b1a9b update 2025-03-07 11:29:13 2025-03-07 11:29:13 +08:00
github-actions[bot]
98f8c8a734 update 2025-03-07 10:57:50 2025-03-07 10:57:50 +08:00
Ing
ff3231cbb5 修复 25.3.0 全新安装循环选择型号 2025-03-07 10:54:47 +08:00
8 changed files with 7 additions and 6 deletions

View File

@ -1 +1 @@
25.3.0
25.3.1

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -8,7 +8,7 @@
# shellcheck disable=SC2034
RR_VERSION="25.3.0"
RR_VERSION="25.3.1"
RR_RELEASE=""
RR_TITLE="RR v${RR_VERSION}"

View File

@ -186,12 +186,13 @@ function modelMenu() {
--menu "${MSG}" 0 0 20 --file "${TMP_PATH}/menu" \
2>${TMP_PATH}/resp
[ $? -ne 0 ] && return 0
respM=$(cat ${TMP_PATH}/resp)
resp=$(cat ${TMP_PATH}/resp)
[ -z "${resp}" ] && return 1
if [ "${resp}" = "f" ]; then
RESTRICT=0
continue
fi
respM="${resp}"
break
done
else
@ -1738,7 +1739,7 @@ function formatDisks() {
[ "${KNAME:0:7}" = "/dev/md" ] && continue
[ "${KNAME}" = "${LOADER_DISK}" ] || [ "${PKNAME}" = "${LOADER_DISK}" ] && continue
printf "\"%s\" \"%-6s %-4s %s\" \"off\"\n" "${KNAME}" "${SIZE}" "${TYPE}" "${ID}" >>"${TMP_PATH}/opts"
done <<<"$(lsblk -Jpno KNAME,ID,SIZE,TYPE,PKNAME 2>/dev/null | sed 's|null|"N/A"|g' | jq -r '.blockdevices[] | "\(.kname) \(.id) \(.size) \(.type) \(.pkname)"' 2>/dev/null)"
done <<<"$(lsblk -Jpno KNAME,ID,SIZE,TYPE,PKNAME 2>/dev/null | sed 's|null|"N/A"|g' | jq -r '.blockdevices[] | "\(.kname) \(.id) \(.size) \(.type) \(.pkname)"' 2>/dev/null | sort)"
if [ ! -f "${TMP_PATH}/opts" ]; then
DIALOG --title "$(TEXT "Advanced")" \
--msgbox "$(TEXT "No disk found!")" 0 0
@ -2318,7 +2319,7 @@ function cloneBootloaderDisk() {
[ "${KNAME}" = "N/A" ] || [ "${SIZE:0:1}" = "0" ] && continue
[ "${KNAME}" = "${LOADER_DISK}" ] || [ "${PKNAME}" = "${LOADER_DISK}" ] && continue
printf "\"%s\" \"%-6s %s\" \"off\"\n" "${KNAME}" "${SIZE}" "${ID}" >>"${TMP_PATH}/opts"
done <<<"$(lsblk -Jdpno KNAME,ID,SIZE,PKNAME 2>/dev/null | sed 's|null|"N/A"|g' | jq -r '.blockdevices[] | "\(.kname) \(.id) \(.size) \(.pkname)"' 2>/dev/null)"
done <<<"$(lsblk -Jdpno KNAME,ID,SIZE,PKNAME 2>/dev/null | sed 's|null|"N/A"|g' | jq -r '.blockdevices[] | "\(.kname) \(.id) \(.size) \(.pkname)"' 2>/dev/null | sort)"
if [ ! -f "${TMP_PATH}/opts" ]; then
DIALOG --title "$(TEXT "Settings")" \

View File

@ -1 +1 @@
25.3.0
25.3.1