chore: update distro detection

This commit is contained in:
2025-06-11 17:33:18 -07:00
parent ccab0685d0
commit 590aa9a1ff

View File

@@ -153,7 +153,7 @@ printf '%-2s\n' " ${c[greyd]}and EPG files will be available for the public to d
if [[ -z ${TVAPP_NON_ROOT_USER} ]]; then if [[ -z ${TVAPP_NON_ROOT_USER} ]]; then
echo -e echo -e
printf '%-6s %-35s %-65s\n' "" " ${c[greenl]}System(s)${c[end]}" "${c[end]}${sys_os_ver} ${sys_os_ver}${c[end]}" printf '%-6s %-35s %-65s\n' "" " ${c[greenl]}Distro${c[end]}" "${c[end]}${sys_os_name} ${sys_os_ver}${c[end]}"
printf '%-6s %-35s %-65s\n' "" " ${c[greenl]}User:Group${c[end]}" "${c[end]}$(id -u dockerx):$(id -g dockerx)${c[end]}" printf '%-6s %-35s %-65s\n' "" " ${c[greenl]}User:Group${c[end]}" "${c[end]}$(id -u dockerx):$(id -g dockerx)${c[end]}"
else else
printf '%-6s %-35s %-65s\n' "" " ${c[greenl]}User:Group${c[end]}" "${c[end]}$(stat /run -c %u):$(stat /run -c %g)${c[end]}" printf '%-6s %-35s %-65s\n' "" " ${c[greenl]}User:Group${c[end]}" "${c[end]}$(stat /run -c %u):$(stat /run -c %g)${c[end]}"