mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50: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() {
|
_run_update_installer() {
|
||||||
cd /
|
cd /
|
||||||
if [[ "${_TTY}" == "tty1" ]]; then
|
if [[ "${_TTY}" == "tty1" ]]; then
|
||||||
if [[ "$()" -lt 2971000 ]]; then
|
if [[ "${_MEM_TOTAL}" -lt 2971000 ]]; then
|
||||||
_run_latest
|
_run_latest
|
||||||
else
|
else
|
||||||
# local image
|
# local image
|
||||||
|
|
Loading…
Reference in a new issue