From 753d441d7fe45c6c99fe480314b1ec495aaa0e93 Mon Sep 17 00:00:00 2001 From: Botspot Date: Tue, 24 Aug 2021 16:49:41 -0500 Subject: [PATCH] manage: improve unsupported system warning --- manage | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/manage b/manage index 42c70b1..14f3b29 100755 --- a/manage +++ b/manage @@ -97,9 +97,13 @@ elif [ "$1" == 'install' ] || [ "$1" == 'uninstall' ];then error "${DIRECTORY}/apps/$app does not exist!" fi - #check if hardware and OS is supported + #display warning if hardware and os is unsupported if [ "$supported" == no ];then - echo -e "\e[103m\e[30mWARNING: YOUR SETUP IS UNSUPPORTED:\n$(is_supported_system)\e[39m\e[49m" + echo -e "\e[103m\e[30mWARNING: YOUR SYSTEM IS UNSUPPORTED:\n$(is_supported_system)\e[39m\e[49m" + sleep 1 + echo -e "\e[103m\e[30mThe ability to send error reports has been disabled.\e[39m\e[49m" + sleep 1 + echo -e "\e[103m\e[30mWaiting 10 seconds... (To cancel, press Ctrl+C or close this terminal)\e[39m\e[49m" sleep 10 fi