From 3e64d381cbcbd7f9153e4e910121ab0c8ba07f69 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sun, 1 Nov 2015 21:53:45 +0100 Subject: [PATCH] Hide Xorg menu if Xorg is not installed to config menu --- config/menu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/menu b/config/menu index 2c64b7c..08a5457 100644 --- a/config/menu +++ b/config/menu @@ -6,7 +6,9 @@ options+=("Bash" "") options+=("Firewall" "") options+=("Users" "") options+=("Sudoers" "") -options+=("XOrg" "") +if [ -f /usr/bin/Xorg ]; then + options+=("XOrg" "") +fi options+=("Grub" "") defaultitem=""