From a722da0346e96b906f448c6b46c6133a8a13ccf1 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sat, 11 Dec 2021 02:10:19 +0100 Subject: [PATCH] config: adjust tiny mishaps --- .config/shell/functions | 2 +- .config/yadm/bootstrap | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/shell/functions b/.config/shell/functions index 8406242..e25cc06 100644 --- a/.config/shell/functions +++ b/.config/shell/functions @@ -143,7 +143,7 @@ scr() { systemctl --user reload "$1" || sudo systemctl reload "$1" || systemctl --user restart "$1" || - sudo systemctl restart"$1" || + sudo systemctl restart "$1" } # Restart matching systemctl service with chance for input inbetween diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 0f101a5..dd7ea34 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -29,7 +29,7 @@ test -d "/etc/yadm" || sy clone SECTION "Software" link() { - test -e "$2" || $(checkaccess -w "$2" || echo sudo) ln -sv "$@" + test -e "$2" -o -h "$2" || $(checkaccess -w "$2" || echo sudo) ln -sv "$@" } mkdir -p .config/audacity