 #!/bin/bash
 
 appname=cmpl
 dirname="/usr/share/Cmpl"
 
 coreFile="${dirname}/bin/libQtCore.so.4"
 xmlFile="${dirname}/bin/libQtXml.so.4"
 if (test -f $coreFile) && (test -f $xmlFile) ; then
	LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${dirname}/bin/"
 	export LD_LIBRARY_PATH
 fi
 
 $dirname/bin/$appname $*
