Dockerfile: Update from ubuntu 16.04 to 16.10
[termux-packages] / scripts / detect-hardlinks.sh
CommitLineData
426d37e3
FF
1#!/bin/sh
2
3cd $HOME/termux
4
e17efced 5for f in * */subpackages/*; do
426d37e3
FF
6 cd $HOME/termux
7 if [ -d $f/massage ]; then
8 cd $f/massage
9 if [ -n "$(find . -type f -links +1)" ]; then
4245f247
FF
10 echo "$f contains hardlink, which will not work on Android 6 or later:"
11 find . -type f -links +1
426d37e3
FF
12 fi
13 fi
14done