From 7b584801c66486387708925fc6f98e62065bde3e Mon Sep 17 00:00:00 2001 From: Augusto Gunsch Date: Tue, 10 Aug 2021 11:48:14 -0300 Subject: [PATCH] Rename function --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5afeb1e..457e36b 100755 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ quiet() { set -e } -quiet_quit_on_error() { +ultra_quiet() { local DUMMY DUMMY=$($@ 2>&1 > /dev/null) } @@ -63,7 +63,7 @@ echo -e "$AVAILABLE_PLATFORMS" DISTRO=$(cat /etc/os-release | sed -nE 's/^ID=(.*)/\1/p') INIT_SYS=$(basename $(readlink /bin/init)) set +e -quiet_quit_on_error ls /sys/firmware/efi/efivars +ultra_quiet ls /sys/firmware/efi/efivars [ $? -eq 0 ] && UEFI=1 || UEFI=0 set -e readonly DISTRO