30convertfs/convertfs.sh: add check for /usr/bin
Check if /usr is mounted, by checking for /usr/binmaster
parent
d18bc9070d
commit
1701d7adc8
|
@ -47,6 +47,11 @@ if ! needconvert; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -e "$ROOT/usr/bin" ]; then
|
||||||
|
echo "$ROOT/usr/bin does not exist"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
testfile="$ROOT/.usrmovecheck$$"
|
testfile="$ROOT/.usrmovecheck$$"
|
||||||
rm -f "$testfile"
|
rm -f "$testfile"
|
||||||
> "$testfile"
|
> "$testfile"
|
||||||
|
|
Loading…
Reference in New Issue