From d3e9ea7678bcb49cf79c148505d1940899adc922 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 4 Oct 2025 01:11:01 +0200 Subject: [PATCH] Update visudo declarations along with the battery script --- update.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index fb13c58..2a3a071 100644 --- a/update.sh +++ b/update.sh @@ -24,9 +24,12 @@ chown $USER $binfolder/battery chmod 755 $binfolder/battery chmod u+x $binfolder/battery +echo "[ 3 ] Updating visudo declarations" +sudo $binfolder/battery.sh visudo + # Remove tempfiles cd rm -rf $tempfolder -echo "[ 3 ] Removed temporary folder" +echo "[ 4 ] Removed temporary folder" echo -e "\nšŸŽ‰ Battery tool updated.\n"