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:
parent
2a548e8229
commit
6c96b9381f
|
@ -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 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_DATA_DIRS="${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}${GNOME_PREFIX}/share"
|
||||||
export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}${XDG_CONFIG_DIRS+:}/etc/gnome/xdg"
|
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
|
|
||||||
|
|
||||||
|
|
|
@ -1 +1,8 @@
|
||||||
sed -i "/<standard_session_servicedirs \/>/a\ <servicedir>/opt/ghome/share/dbus-1/services</servicedir>" /etc/sysconfig/dbus/dbus-1/session.conf
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user