pinephone-scripts

Scripts and small applications for the PinePhone
git clone https://src.jayvii.de/pub/pinephone-scripts.git
Log | Files | Refs | README | LICENSE

commit d0c82b64a6da93ad7e367f9846f192bb4bf80e0a
parent 1c8325e7a802bae2fb4b198665bf31465a8a1289
Author: JayVii <jayvii@posteo.de>
Date:   Fri, 22 Jan 2021 16:37:07 +0100

Fix startup error

Diffstat:
Msguard/sguard.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sguard/sguard.sh b/sguard/sguard.sh @@ -3,13 +3,13 @@ # Checks ---------------------------------------------------------------------- # is pacmd installed? -if [[ ! -z `whereis pactl | awk '{ print $2 }'` ]]; then +if [[ -z `whereis pactl | awk '{ print $2 }'` ]]; then echo "pactl is required for sguard to function properly." exit 1; fi # is gnome-session-inhibit installed? -if [[ ! -z `whereis gnome-session-inhibit | awk '{ print $2 }'` ]]; then +if [[ -z `whereis gnome-session-inhibit | awk '{ print $2 }'` ]]; then echo "gnome-session-inhibit is required for sguard to function properly." exit 2; fi