if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
( cd usr/lib64 ; rm -rf libnomacsCore.so )
( cd usr/lib64 ; ln -sf libnomacsCore.so.3 libnomacsCore.so )
( cd usr/lib64 ; rm -rf libnomacsCore.so.3 )
( cd usr/lib64 ; ln -sf libnomacsCore.so.3.17.0 libnomacsCore.so.3 )
( cd usr/lib64/nomacs-plugins ; rm -rf libCompositePlugin.so )
( cd usr/lib64/nomacs-plugins ; ln -sf libCompositePlugin.so.3 libCompositePlugin.so )
( cd usr/lib64/nomacs-plugins ; rm -rf libCompositePlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; ln -sf libCompositePlugin.so.3.17.0 libCompositePlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; rm -rf libaffineTransformPlugin.so )
( cd usr/lib64/nomacs-plugins ; ln -sf libaffineTransformPlugin.so.3 libaffineTransformPlugin.so )
( cd usr/lib64/nomacs-plugins ; rm -rf libaffineTransformPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; ln -sf libaffineTransformPlugin.so.3.17.0 libaffineTransformPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; rm -rf libfakeMiniaturesPlugin.so )
( cd usr/lib64/nomacs-plugins ; ln -sf libfakeMiniaturesPlugin.so.3 libfakeMiniaturesPlugin.so )
( cd usr/lib64/nomacs-plugins ; rm -rf libfakeMiniaturesPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; ln -sf libfakeMiniaturesPlugin.so.3.17.0 libfakeMiniaturesPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; rm -rf libpageExtractionPlugin.so )
( cd usr/lib64/nomacs-plugins ; ln -sf libpageExtractionPlugin.so.3 libpageExtractionPlugin.so )
( cd usr/lib64/nomacs-plugins ; rm -rf libpageExtractionPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; ln -sf libpageExtractionPlugin.so.3.17.0 libpageExtractionPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; rm -rf libpaintPlugin.so )
( cd usr/lib64/nomacs-plugins ; ln -sf libpaintPlugin.so.3 libpaintPlugin.so )
( cd usr/lib64/nomacs-plugins ; rm -rf libpaintPlugin.so.3 )
( cd usr/lib64/nomacs-plugins ; ln -sf libpaintPlugin.so.3.17.0 libpaintPlugin.so.3 )
