die ld.lib.conf geschichten gehören in postinstall, nicht in gnome init script

git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_gnomeconf@4910 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2009-12-21 09:53:16 +00:00
parent 2a548e8229
commit 6c96b9381f
2 changed files with 7 additions and 8 deletions

View File

@ -11,11 +11,3 @@ export PATH="${PATH}:${GNOME_PREFIX}/bin"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH+:}${GNOME_PREFIX}/lib/pkgconfig"
export XDG_DATA_DIRS="${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}${GNOME_PREFIX}/share"
export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}${XDG_CONFIG_DIRS+:}/etc/gnome/xdg"
if ! grep -q "/opt/gnome/lib"; then
echo "/opt/gnome/lib" >>/etc/ld.so.conf
if -d /lib64; then
echo "/opt/gnome/lib64" >>/etc/ld.so.conf
fi
fi

View File

@ -1 +1,8 @@
sed -i "/<standard_session_servicedirs \/>/a\ <servicedir>/opt/ghome/share/dbus-1/services</servicedir>" /etc/sysconfig/dbus/dbus-1/session.conf
if ! grep -q "/opt/gnome/lib" /etc/ld.so.conf; then
echo "/opt/gnome/lib" >>/etc/ld.so.conf
if [ -d /lib64 ]; then
echo "/opt/gnome/lib64" >>/etc/ld.so.conf
fi
fi