mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-25 12:22:31 +00:00
Hard links do not work on Android since 6.0. So modify the file locking mechanism from: if ln "$tmpfile" "$lockf"; then rm -f "$tmpfile"; .. to if mv --update=none-fail "$tmpfile" "$lockf"; then .. Fixes #21736
903 B
903 B