There's no longer the need to have a specific Ubuntu check for `__function_defined()`.

This allows the script to behave the same if called using plain sh or bash.