Compare commits

..

1 Commits

Author SHA1 Message Date
Ing
7574be2cde fix something 2024-04-15 21:30:20 +08:00
4 changed files with 4 additions and 6 deletions

View File

@ -1 +1 @@
24.4.4 24.4.3

View File

@ -1,4 +1,4 @@
RR_VERSION="24.4.4" RR_VERSION="24.4.3"
RR_TITLE="RR v${RR_VERSION}" RR_TITLE="RR v${RR_VERSION}"
# Define paths # Define paths

View File

@ -1296,9 +1296,7 @@ function make() {
while true; do while true; do
SIZE=256 # initrd-dsm + zImage-dsm ≈ 210M SIZE=256 # initrd-dsm + zImage-dsm ≈ 210M
SPACELEFT=$(df -m ${PART3_PATH} 2>/dev/null | awk 'NR==2 {print $4}') SPACELEFT=$(df -m ${PART3_PATH} 2>/dev/null | awk 'NR==2 {print $4}')
ZIMAGESIZE=$(du -m ${ORI_ZIMAGE_FILE} 2>/dev/null | awk '{print $1}') SPACEALL=$((${SPACELEFT:-0} + $(du -m ${MOD_ZIMAGE_FILE} | awk '{print $1}') + $(du -m ${MOD_RDGZ_FILE} | awk '{print $1}')))
RDGZSIZE=$(du -m ${ORI_RDGZ_FILE} 2>/dev/null | awk '{print $1}')
SPACEALL=$((${SPACELEFT:-0} + ${ZIMAGESIZE:-0} + ${RDGZSIZE:-0}))
[ ${SPACEALL:-0} -ge ${SIZE} ] && break [ ${SPACEALL:-0} -ge ${SIZE} ] && break
echo -e "$(TEXT "No disk space left, please clean the cache and try again!")" >"${LOG_FILE}" echo -e "$(TEXT "No disk space left, please clean the cache and try again!")" >"${LOG_FILE}"
return 1 return 1

View File

@ -1 +1 @@
24.4.4 24.4.3