From 78adf056b58302a6caa54909c84ed49269de88d8 Mon Sep 17 00:00:00 2001 From: Wiktor Zykubek Date: Mon, 9 Mar 2020 20:43:25 +0100 Subject: [PATCH] Change HOST variable in dotman to HOSTNAME for sh interpreter --- dotman | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotman b/dotman index 21d241e..27c6251 100755 --- a/dotman +++ b/dotman @@ -112,10 +112,10 @@ copy_configs() { cp -r * ~/.config/ - if [ "$HOST" = "pc" ]; then + if [ "$HOSTNAME" = "pc" ]; then echo "Use pc config" mv ~/.config/polybar/config.pc ~/.config/polybar/config - elif [ "$HOST" = "laptop" ]; then + elif [ "$HOSTNAME" = "laptop" ]; then echo "Use laptop config..." mv ~/.config/polybar/config.laptop ~/.config/polybar/config fi