add arch and update build versions

This commit is contained in:
2025-08-08 21:38:06 -05:00
parent a1aa2ee651
commit 3dfb07fce5
4 changed files with 14 additions and 10 deletions

View File

@@ -100,7 +100,11 @@ print_pkg_mgr() {
print_os() {
if [[ -f /etc/os-release ]]; then
source /etc/os-release
echo "${ID}-${VERSION_ID}"
local OS="${ID}"
if [[ ${VERSION_ID} != '' ]]; then
OS+="-${VERSION_ID}"
fi
echo "${OS}"
fi
}