termux-packages/packages/tk/no-hardlinks.patch

13 lines
385 B
Diff

diff -uNr tk8.6.9/unix/installManPage tk8.6.9.mod/unix/installManPage
--- tk8.6.9/unix/installManPage 2018-11-18 00:33:44.000000000 +0200
+++ tk8.6.9.mod/unix/installManPage 2019-11-17 16:16:48.449560198 +0200
@@ -109,7 +109,7 @@
chmod 444 $Dir/$First
$Gzip $Dir/$First
else
- ln $SymOrLoc$First$Gz $Dir/$Target$Gz
+ ln -sfr $SymOrLoc$First$Gz $Dir/$Target$Gz
fi
done