]> git.sev.monster Git - dotfiles.git/commitdiff
install.sh: suppress bad link errors
authorsev <git@sev.monster>
Wed, 21 Aug 2024 07:20:27 +0000 (02:20 -0500)
committersev <git@sev.monster>
Wed, 21 Aug 2024 07:20:27 +0000 (02:20 -0500)
install.sh

index b28eb8138f758a567ce92a4494552e718ee3632e..9f8eac7700011893a581d9862cc93dbd032dd71c 100755 (executable)
@@ -67,7 +67,7 @@ find . "$share" "$etc" \
      "$LOCAL/bin" "$share/fonts" "$share/themes" "$share/icons" \
      "$etc/gnupg" .ssh .termux \
      -xdev -mindepth 1 -maxdepth 1 -type l -exec sh -c '
-       r="$(realpath "{}")"
+       r="$(realpath "{}" 2>/dev/null)"
        [ "${r#'"$SRC"'/}" != "$r" ] &&
          '"$([ "${DOTFILES_TEST+x}" = x ] && echo 'echo +++ ')"'unlink "{}"' \;
 
This page took 0.031888 seconds and 4 git commands to generate.