From 429f878a88f6a275caecb4fcb07d3e1525d85ad5 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Mon, 27 Feb 2017 11:21:55 +0100 Subject: [PATCH] print version to logfile --- lib/util.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/util.sh b/lib/util.sh index 44b2768..74185d5 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -114,6 +114,8 @@ submenu() { # Adapted from AIS. Checks if system is made by Apple, whether the system is BIOS or UEFI, # and for LVM and/or LUKS. id_system() { + [[ ! $(pacman -Q manjaro-architect 2>/dev/null) ]] && check_for_error "[[ $(pacman -Q manjaro-architect-dev) ]]" || check_for_error "[[ $(pacman -Q manjaro-architect) ]]" + # Apple System Detection if [[ "$(cat /sys/class/dmi/id/sys_vendor)" == 'Apple Inc.' ]] || [[ "$(cat /sys/class/dmi/id/sys_vendor)" == 'Apple Computer, Inc.' ]]; then modprobe -r -q efivars || true # if MAC