diff --git a/extensions/nvidia.sh b/extensions/nvidia.sh index 8cf596be7..608cda090 100644 --- a/extensions/nvidia.sh +++ b/extensions/nvidia.sh @@ -5,7 +5,7 @@ function extension_finish_config__build_nvidia_kernel_module() { return 0 fi export INSTALL_HEADERS="yes" - declare -g NVIDIA_DRIVER_VERSION="${NVIDIA_DRIVER_VERSION:-"510"}" + declare -g NVIDIA_DRIVER_VERSION="${NVIDIA_DRIVER_VERSION:-"510"}" # @TODO: this might vary per-release and Debian/Ubuntu display_alert "Forcing INSTALL_HEADERS=yes; using nVidia driver version ${NVIDIA_DRIVER_VERSION}" "${EXTENSION}" "debug" } diff --git a/lib/functions/logging/trap-logging.sh b/lib/functions/logging/trap-logging.sh index 978b81d98..801f5f27e 100644 --- a/lib/functions/logging/trap-logging.sh +++ b/lib/functions/logging/trap-logging.sh @@ -27,8 +27,8 @@ function trap_handler_cleanup_logging() { declare -a existing_log_files_array # array of existing log files: dash and dot in filename required. mapfile -t existing_log_files_array < <(find "${target_path}" -maxdepth 1 -type f -name "*-*.*") - # if more than 7 log files, warn user... - if [[ "${#existing_log_files_array[@]}" -gt 7 ]]; then + # if more than 14 log files, warn user... + if [[ "${#existing_log_files_array[@]}" -gt 14 ]]; then # Hey, I fixed Docker archiving, so this should not happen again... heh. display_alert "Archiving" "${#existing_log_files_array[@]} old log files - be patient & thanks for testing armbian-next! 👍" "wrn" wait_for_disk_sync # for dramatic effect