Commit Graph

1 Commits

Author SHA1 Message Date
termux-pacman-bot
92dea52e18 fix(main/keychain): Avoid trying to use hard links
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
2024-10-09 12:47:56 +00:00