1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-09-07 06:02:27 +02:00

fix: detect APU variants

This commit is contained in:
aclist 2024-08-28 06:52:01 +09:00
parent 24a916c11c
commit 4bd7f684c2
11 changed files with 45 additions and 15 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -o pipefail
version=5.2.3
version=5.3.3
#CONSTANTS
aid=221100
@ -978,6 +978,7 @@ generate_log(){
cat <<-DOC > $system_log
Distro: $(< /etc/os-release grep -w NAME | awk -F\" '{print $2}')
Kernel: $(uname -mrs)
CPU: $(< /proc/cpuinfo awk -F": " '/model name/ {print $2; exit}')
Version: $version
Branch: $branch
Mode: $(if [[ -z $debug ]]; then echo normal; else echo debug; fi)