chiark
/
gitweb
/
~mdw
/
termux-packages
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
207e40602d856eee71160f522810c2df169152c6
[termux-packages]
/
scripts
/
detect-hardlinks.sh
1
#!/bin/sh
2
3
cd $HOME/termux
4
5
for f in * */subpackages/*; do
6
cd $HOME/termux
7
if [ -d $f/massage ]; then
8
cd $f/massage
9
if [ -n "$(find . -type f -links +1)" ]; then
10
echo "$f contains hardlink, which will not work on Android 6 or later:"
11
find . -type f -links +1
12
fi
13
fi
14
done