show iptions

This commit is contained in:
Tobias Powalowski 2022-06-11 10:10:51 +02:00
parent e937b5fa6b
commit 55d8f26a88

View file

@ -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 ""