mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 22:20: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