From 9422e3941c9e1bfb2b0abf7cdf3d1f95a5ea7d08 Mon Sep 17 00:00:00 2001 From: Mentor Date: Tue, 6 Sep 2022 15:38:51 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Simplify=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index dbbdd6a..482fc14 100644 --- a/setup.sh +++ b/setup.sh @@ -2,9 +2,10 @@ # User welcome message echo -e '\nšŸ‘‹ Welcome, this is the setup script for the battery CLI tool.' -echo -e "Note: this sccript will ask for your password once or multiple times. This is needed install battery to your system." -echo -e "\nPress any key to continue\n" -read +echo -e "Note: this script will ask for your password once or multiple times. This is needed install battery to your system." + +# Ask for sudo once, in most systems this will cache the permissions for a bit +sudo echo # Get smc source and build it tempfolder=~/.battery-tmp