From d7d20982f24757817268b593ead0d6ce9319d535 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 8 Sep 2021 19:25:27 +0200 Subject: Replacing hostname command with cat /etc/hostname to avoid depending on unecessary package (inetutils) --- local/bin/backlight-ctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'local') diff --git a/local/bin/backlight-ctl b/local/bin/backlight-ctl index 1e7f94c..48e51c4 100755 --- a/local/bin/backlight-ctl +++ b/local/bin/backlight-ctl @@ -3,7 +3,7 @@ [ "$#" -ne 1 ] && exit 1; -if [ "$(hostname)" = manjaro ] +if [ "$(cat /etc/hostname)" = manjaro ] then cmd=light up_opt=-A -- cgit