mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
move _MEM_TOTAL to common.sh and replace grep calls with rg
This commit is contained in:
parent
01676f0f3d
commit
e7a7e893e9
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ _run_latest_install() {
|
|||
_run_update_installer() {
|
||||
cd /
|
||||
if [[ "${_TTY}" == "tty1" ]]; then
|
||||
if [[ "$()" -lt 2971000 ]]; then
|
||||
if [[ "${_MEM_TOTAL}" -lt 2971000 ]]; then
|
||||
_run_latest
|
||||
else
|
||||
# local image
|
||||
|
|
Loading…
Reference in a new issue