From f777ea72f2c1acbf640164aefe1f669868947294 Mon Sep 17 00:00:00 2001 From: Hannes Lau Date: Sat, 4 Mar 2023 13:23:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9A=20explain=20the=20battery=20visudo?= =?UTF-8?q?=20command?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit References: https://github.com/actuallymentor/battery/issues/38#issuecomment-1356260533 --- README.md | 3 ++- battery.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0dfd62e..dd20062 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,8 @@ Usage: eg: battery discharge 90 battery visudo - instructions on how to make which utility exempt from sudo, highly recommended + ensure you don't need to call battery with sudo + This is already used in the setup script, so you should't need it. battery update update the battery utility to the latest version diff --git a/battery.sh b/battery.sh index 5b2fbed..e9b88c0 100755 --- a/battery.sh +++ b/battery.sh @@ -72,7 +72,8 @@ Usage: eg: battery discharge 90 battery visudo - instructions on how to make which utility exempt from sudo, highly recommended + ensure you don't need to call battery with sudo + This is already used in the setup script, so you should't need it. battery update update the battery utility to the latest version