config: validate symlinks in bootstrap

This commit is contained in:
xeruf 2021-11-07 05:56:01 +01:00
parent 178163e19a
commit 2b4a5508ab
2 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,11 @@ test -d "/etc/yadm" || sy clone
section "Software"
link() { test -e "$2" || ln -sv "$@"; }
mkdir -p .config/audacity
find $HOME -maxdepth 1 -type l -exec file {} + |
grep '.local/share' | grep broken |
sed 's/.* //' | xargs mkdir -p
link python3 /usr/bin/python
link fd /usr/bin/fdfind
link bat /usr/bin/batcat

1
.sane
View File

@ -1 +0,0 @@
.local/share/sane