final fix for issue #892

see http://bugs.campware.org/view.php?id=892
This commit is contained in:
maroy 2005-04-30 10:30:01 +00:00
parent dbd63ae730
commit 2e4c52de31

View file

@ -22,7 +22,7 @@
#
#
# Author : $Author: maroy $
# Version : $Revision: 1.2 $
# Version : $Revision: 1.3 $
# Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/bin/Attic/postInstallGLiveSupport.sh,v $
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
@ -212,16 +212,16 @@ tmp_file=/tmp/livesupport_setup.$$
# customize the GTK- config files, which have hard-coded values in them :(
cat $install_etc/gtk-2.0/gdk-pixbuf.loaders \
| sed -e "s/^\"\/.*\/usr\/lib/\/\"$installdir_s\/lib/g"
| sed -e "s/^\"\/.*\/usr\/lib/\"$installdir_s\/lib/g" \
> $tmp_file
mv -f $tmp_file $install_etc/gtk-2.0/gdk-pixbuf.loaders
# customize the pango config files, which have hard-coded values in them :(
pango_rc=$install_etc/pango/pango.rc
echo "[Pango]" > $pango_rc
echo "ModuleFiles=$install_etc/pango/pango.modules" > $pango_rc
echo "ModuleFiles=$install_etc/pango/pango.modules" >> $pango_rc
cat $install_etc/pango/pango.modules \
| sed -e "s/^\/.*\/usr\/lib/\/$installdir_s\/lib/g"
| sed -e "s/^\/.*\/usr\/lib/$installdir_s\/lib/g" \
> $tmp_file
mv -f $tmp_file $install_etc/pango/pango.modules