
available()
{
  which "$1" >/dev/null 2>&1
}


if available update-desktop-database; then
  update-desktop-database -q /usr/share/applications
fi
if available update-mime-database; then
  update-mime-database /usr/share/mime &> /dev/null
fi

message "==================================================
To start beta version of opera run opera-beta

For opera-beta the settings will be stored under
\$HOME/.opera-beta
=================================================="
