if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
( cd usr/bin ; rm -rf minmacs )
( cd usr/bin ; ln -sf mined minmacs )
( cd usr/bin ; rm -rf mstar )
( cd usr/bin ; ln -sf mined mstar )
( cd usr/bin ; rm -rf xmined )
( cd usr/bin ; ln -sf umined xmined )
( cd usr/bin ; rm -rf mpico )
( cd usr/bin ; ln -sf mined mpico )
( cd usr/doc/mined-2015.25 ; rm -rf CHANGES )
( cd usr/doc/mined-2015.25 ; ln -sf usrshare/package_doc/CHANGES CHANGES )
( cd usr/doc/mined-2015.25 ; rm -rf README )
( cd usr/doc/mined-2015.25 ; ln -sf usrshare/package_doc/README README )
( cd usr/share/mined/package_doc ; rm -rf CHANGES )
( cd usr/share/mined/package_doc ; ln -sf ../doc_user/changes.html CHANGES )
( cd usr/share/mined/bin ; rm -rf xmined )
( cd usr/share/mined/bin ; ln -sf umined xmined )
