From 516de1f08087df4986ed58705522bf1caa8560cd Mon Sep 17 00:00:00 2001 From: billz Date: Fri, 27 Oct 2023 11:36:44 +0100 Subject: [PATCH] Update installer output LONG_BIT --- installers/common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installers/common.sh b/installers/common.sh index 05c15ee0..34975cbf 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -91,7 +91,7 @@ function _config_installation() { fi _install_log "Configure ${opt[2]}" _get_linux_distro - echo "Detected OS: ${DESC}" + echo "Detected OS: ${DESC} ${LONG_BIT}-bit" echo "Using GitHub repository: ${repo} ${branch} branch" echo "Configuration directory: ${raspap_dir}" echo -n "lighttpd root: ${webroot_dir}? [Y/n]: " @@ -127,6 +127,7 @@ function _get_linux_distro() { RELEASE=$(lsb_release -sr) CODENAME=$(lsb_release -sc) DESC=$(lsb_release -sd) + LONG_BIT=$(getconf LONG_BIT) elif [ -f /etc/os-release ]; then # freedesktop.org . /etc/os-release OS=$ID