aboutsummaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-09-08 19:25:27 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-09-08 19:25:27 +0200
commitd7d20982f24757817268b593ead0d6ce9319d535 (patch)
tree534118f05c2f4d99299b23a09277e309a60c2530 /install
parentfddc968ea17d6016518da4663e35926861e1da8a (diff)
downloaddotfiles-d7d20982f24757817268b593ead0d6ce9319d535.tar.gz
dotfiles-d7d20982f24757817268b593ead0d6ce9319d535.tar.bz2
dotfiles-d7d20982f24757817268b593ead0d6ce9319d535.zip
Replacing hostname command with cat /etc/hostname to avoid depending on unecessary package (inetutils)
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
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