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) --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install b/install index 57bee9f..418c35c 100755 --- a/install +++ b/install @@ -98,7 +98,7 @@ parallel_wait echo '---------------------------- INSTALL CRONTAB -----------------------------' -if [ "$(hostname)" = 'charleslaptopcarbon' ] +if [ "$(cat /etc/hostname)" = 'charleslaptopcarbon' ] then cat crontab/user.crontab crontab/laptop.crontab | crontab - else -- cgit