core/pkgs/by-name/te/texlive/texlinks.diff

10 lines
277 B
Diff
Raw Permalink Normal View History

2024-05-02 00:46:19 +00:00
@@ -157,7 +157,7 @@
verbose_echo "skipped ConTeXtish symlink $src -> $dest (special case)"
;;
*)
- test ! -f "$src" &&
+ test "x$src" != "x`(ls -ld $src | awk '{print $NF}') 2>/dev/null`" &&
rm -f "$src"
if test -f "$src"; then