Added check for multiple bbb-common-message libs

This commit is contained in:
Fred Dixon 2019-05-11 13:13:59 -05:00
parent a360826810
commit ad33cc6c80

View File

@ -883,6 +883,14 @@ check_configuration() {
echo "#"
fi
fi
if find /usr/share /var/lib/red5 -name "*bbb-common-message*" | sed 's/\([^_]*_\).*/\1/g' | sort | uniq -c | grep -v 1 > /dev/null; then echo
echo
echo "# Warning: detected multiple bbb-common-message in the same directory"
find /usr/share /var/lib/red5 -name "*bbb-common-message*" | sed 's/\([^_]*_\).*/\1/g' | sort | uniq -c | grep -v 1
echo
fi
}