mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update installer output LONG_BIT
This commit is contained in:
parent
5ec7d4908e
commit
516de1f080
@ -91,7 +91,7 @@ function _config_installation() {
|
|||||||
fi
|
fi
|
||||||
_install_log "Configure ${opt[2]}"
|
_install_log "Configure ${opt[2]}"
|
||||||
_get_linux_distro
|
_get_linux_distro
|
||||||
echo "Detected OS: ${DESC}"
|
echo "Detected OS: ${DESC} ${LONG_BIT}-bit"
|
||||||
echo "Using GitHub repository: ${repo} ${branch} branch"
|
echo "Using GitHub repository: ${repo} ${branch} branch"
|
||||||
echo "Configuration directory: ${raspap_dir}"
|
echo "Configuration directory: ${raspap_dir}"
|
||||||
echo -n "lighttpd root: ${webroot_dir}? [Y/n]: "
|
echo -n "lighttpd root: ${webroot_dir}? [Y/n]: "
|
||||||
@ -127,6 +127,7 @@ function _get_linux_distro() {
|
|||||||
RELEASE=$(lsb_release -sr)
|
RELEASE=$(lsb_release -sr)
|
||||||
CODENAME=$(lsb_release -sc)
|
CODENAME=$(lsb_release -sc)
|
||||||
DESC=$(lsb_release -sd)
|
DESC=$(lsb_release -sd)
|
||||||
|
LONG_BIT=$(getconf LONG_BIT)
|
||||||
elif [ -f /etc/os-release ]; then # freedesktop.org
|
elif [ -f /etc/os-release ]; then # freedesktop.org
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
OS=$ID
|
OS=$ID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user