libcec : only install python files if they exist.

Otherwise if a distro doesnt use python it will break here
This commit is contained in:
longchair 2016-04-07 22:17:01 +02:00
parent 300686865f
commit 995465dadb

View File

@ -71,5 +71,7 @@ configure_target() {
}
post_makeinstall_target() {
mv $INSTALL/usr/lib/python2.7/dist-packages $INSTALL/usr/lib/python2.7/site-packages
if [ -d $INSTALL/usr/lib/python2.7/dist-packages ]; then
mv $INSTALL/usr/lib/python2.7/dist-packages $INSTALL/usr/lib/python2.7/site-packages
fi
}