config: adjust tiny mishaps
This commit is contained in:
parent
0afb39d42f
commit
a722da0346
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue