doinst() {
	#update the mime desktop database
	if [ -x usr/bin/update-desktop-database ]; then
  	  usr/bin/update-desktop-database -q
	fi
	# update the mime database
	if [ -x usr/bin/update-mime-database ]; then
  	  usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
	fi
}
doinst
( cd usr/lib64 ; rm -rf libcodeblocks.so.0 )
( cd usr/lib64 ; ln -sf libcodeblocks.so.0.0.1 libcodeblocks.so.0 )
( cd usr/lib64 ; rm -rf libcodeblocks.so )
( cd usr/lib64 ; ln -sf libcodeblocks.so.0.0.1 libcodeblocks.so )
( cd usr/lib64/wxSmithContribItems ; rm -rf libwxchartctrl.so.0 )
( cd usr/lib64/wxSmithContribItems ; ln -sf libwxchartctrl.so.0.0.1 libwxchartctrl.so.0 )
( cd usr/lib64/wxSmithContribItems ; rm -rf libwxchartctrl.so )
( cd usr/lib64/wxSmithContribItems ; ln -sf libwxchartctrl.so.0.0.1 libwxchartctrl.so )
( cd usr/lib64/wxSmithContribItems ; rm -rf libwxflatnotebook.so.0 )
( cd usr/lib64/wxSmithContribItems ; ln -sf libwxflatnotebook.so.0.0.1 libwxflatnotebook.so.0 )
( cd usr/lib64/wxSmithContribItems ; rm -rf libwxflatnotebook.so )
( cd usr/lib64/wxSmithContribItems ; ln -sf libwxflatnotebook.so.0.0.1 libwxflatnotebook.so )
( cd usr/lib64/wxSmithContribItems ; rm -rf libwxcustombutton.so.0 )
( cd usr/lib64/wxSmithContribItems ; ln -sf libwxcustombutton.so.0.0.1 libwxcustombutton.so.0 )
( cd usr/lib64/wxSmithContribItems ; rm -rf libwxcustombutton.so )
( cd usr/lib64/wxSmithContribItems ; ln -sf libwxcustombutton.so.0.0.1 libwxcustombutton.so )
( cd usr/lib64 ; rm -rf libwxsmithlib.so.0 )
( cd usr/lib64 ; ln -sf libwxsmithlib.so.0.0.1 libwxsmithlib.so.0 )
( cd usr/lib64 ; rm -rf libwxsmithlib.so )
( cd usr/lib64 ; ln -sf libwxsmithlib.so.0.0.1 libwxsmithlib.so )
