( cd usr/lib64 ; rm -rf libnss3.so.1d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libnss3.so libnss3.so.1d )
( cd usr/lib64 ; rm -rf libnssutil3.so.1d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libnssutil3.so libnssutil3.so.1d )
( cd usr/lib64 ; rm -rf libsmime3.so.1d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libsmime3.so libsmime3.so.1d )
( cd usr/lib64 ; rm -rf libssl3.so.1d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libssl3.so libssl3.so.1d )
( cd usr/lib64 ; rm -rf libplds4.so.0d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libplds4.so libplds4.so.0d )
( cd usr/lib64 ; rm -rf libplc4.so.0d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libplc4.so libplc4.so.0d )
( cd usr/lib64 ; rm -rf libnspr4.so.0d )
( cd usr/lib64 ; ln -sf /usr/lib64/seamonkey/libnspr4.so libnspr4.so.0d )
chmod 4755 /opt/google/chrome/chrome-sandbox
if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database /usr/share/mime &> /dev/null
fi

if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
fi

if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache  -f -q /usr/share/icons/hicolor 1> /dev/null 2> /dev/null
fi

( cd usr/bin ; rm -rf google-chrome )
( cd usr/bin ; ln -sf /opt/google/chrome/google-chrome google-chrome )
( cd usr/share/applications ; rm -rf google-chrome.desktop )
( cd usr/share/applications ; ln -sf /opt/google/chrome/google-chrome.desktop google-chrome.desktop )
