From 55d8f26a888fac789bd381feb4cc2c517b460fdf Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 11 Jun 2022 10:10:51 +0200 Subject: [PATCH] show iptions --- usr/lib/archboot/update-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/update-installer.sh b/usr/lib/archboot/update-installer.sh index 18d68d63a..5aadda333 100644 --- a/usr/lib/archboot/update-installer.sh +++ b/usr/lib/archboot/update-installer.sh @@ -40,7 +40,7 @@ usage () { # local image if [[ -e "/var/cache/pacman/pkg/archboot.db" ]]; then if [[ "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -gt 3860000 ]] ; then - if ! [[ -e "/.graphic_run" ]]; then + if ! [[ -e "/.graphic_run" && "$(grep -w MemTotal /proc/meminfo | cut -d ':' -f2 | sed -e 's# ##g' -e 's#kB$##g')" -lt 5920000 ]]; then _graphic_options echo -e " \033[1m-xfce\033[0m Launch XFCE desktop with VNC sharing enabled." echo ""