sed -i "//a\ /opt/gnome/share/dbus-1/services" /etc/sysconfig/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