From cf5043a683114122ba1b5ff761d6519d634602ba Mon Sep 17 00:00:00 2001 From: sev Date: Wed, 21 Aug 2024 02:20:27 -0500 Subject: [PATCH] install.sh: suppress bad link errors --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b28eb81..9f8eac7 100755 --- a/install.sh +++ b/install.sh @@ -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 "{}"' \; -- 2.47.0