( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libCoolType.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libCoolType.so.5.05 libCoolType.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libAGM.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libAGM.so.4.18 libAGM.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libcrypto.so.0 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libcrypto.so.0.9.8 libcrypto.so.0 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libssl.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libssl.so.0 libssl.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicui18n.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicui18n.so.36 libicui18n.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicui18n.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicui18n.so.36.0 libicui18n.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libBIB.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libBIB.so.1.2 libBIB.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicucnv.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicucnv.so.36.0 libicucnv.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libACE.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libACE.so.2.13 libACE.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libResAccess.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libResAccess.so.0.1 libResAccess.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libcurl.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libcurl.so.3 libcurl.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicudata.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicudata.so.36 libicudata.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicuuc.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicuuc.so.36.0 libicuuc.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libssl.so.0 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libssl.so.0.9.8 libssl.so.0 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicuuc.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicuuc.so.36 libicuuc.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libcurl.so.3 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libcurl.so.3.0.0 libcurl.so.3 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libWRServices.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libWRServices.so.3.1 libWRServices.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libadobelinguistic.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libadobelinguistic.so.3.2.0 libadobelinguistic.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicucnv.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicucnv.so.36 libicucnv.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libicudata.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libicudata.so.36.0 libicudata.so.36 )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libcrypto.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libcrypto.so.0 libcrypto.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; rm -rf libBIBUtils.so )
( cd opt/Adobe/Reader9/Reader/intellinux/lib ; ln -sf libBIBUtils.so.1.1 libBIBUtils.so )
( cd etc/bash_completion.d ; rm -rf acroread )
( cd etc/bash_completion.d ; ln -sf ../../opt/Adobe/Reader9/Resource/Shell/acroread_tab acroread )
( cd usr/bin ; rm -rf acroread )
( cd usr/bin ; ln -sf /opt/Adobe/Reader9/bin/acroread acroread )
( cd usr/share/pixmaps ; rm -rf AdobeReader9.png )
( cd usr/share/pixmaps ; ln -sf ../../../opt/Adobe/Reader9/Resource/Icons/48x48/AdobeReader9.png AdobeReader9.png )
( cd usr/share/applications ; rm -rf AdobeReader.desktop )
( cd usr/share/applications ; ln -sf ../../../opt/Adobe/Reader9/Resource/Support/AdobeReader.desktop AdobeReader.desktop )
( cd usr/share/mime/packages ; rm -rf AdobeReader.xml )
( cd usr/share/mime/packages ; ln -sf ../../../../opt/Adobe/Reader9/Resource/Support/AdobeReader.xml AdobeReader.xml )
( cd usr/man/man1 ; rm -rf acroread.1.gz )
( cd usr/man/man1 ; ln -sf ../../../opt/Adobe/Reader9/Resource/Shell/acroread.1.gz acroread.1.gz )
( cd usr/lib/mozilla/plugins ; rm -rf nppdf.so )
( cd usr/lib/mozilla/plugins ; ln -sf ../../../../opt/Adobe/Reader9/Browser/intellinux/nppdf.so nppdf.so )

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

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

