dnsutils: Avoid hardlinks to man pages
[termux-packages] / 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.0+"
11 fi
12 fi
13 done