fix for proper gstreamer registry creation on installation and in the

debian package
This commit is contained in:
maroy 2005-07-05 11:23:50 +00:00
parent eea04b3886
commit 53893a3e50
11 changed files with 61 additions and 33 deletions

View file

@ -22,7 +22,7 @@
#
#
# Author : $Author: maroy $
# Version : $Revision: 1.6 $
# Version : $Revision: 1.7 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/bin/Attic/postInstallGLiveSupport.sh,v $
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
@ -211,10 +211,10 @@ replace_sed_string="s/ls_install_dir/$installdir_s/; \
#-------------------------------------------------------------------------------
check_exe() {
if [ -x "`which $1 2> /dev/null`" ]; then
echo "Exectuable $1 found...";
echo "Executable $1 found...";
return 0;
else
echo "Exectuable $1 not found...";
echo "Executable $1 not found...";
return 1;
fi
}
@ -256,6 +256,18 @@ cat $install_etc/gLiveSupport.xml.template \
> $install_etc/gLiveSupport.xml
#-------------------------------------------------------------------------------
# Create the gstreamer registry
#-------------------------------------------------------------------------------
echo "Creating gstreamer registry...";
gstreamer_dir=`find $install_lib -type d -name "gstreamer-*"`
export LD_LIBRARY_PATH=$install_lib
export GST_REGISTRY=$install_etc/gst-registry.xml
export GST_PLUGIN_PATH=$gstreamer_dir
$install_bin/gst-register > /dev/null 2>&1
#-------------------------------------------------------------------------------
# Say goodbye
#-------------------------------------------------------------------------------