

def package(pkg_name, update=False):
    "\n    Require a opkg package to be installed.\n\n    Example::\n\n        from fabtools import require\n\n        # Require a package\n        require.opkg.package('foo')\n\n    "
    if (not is_installed(pkg_name)):
        install(pkg_name, update=update)

dataset/ETHPy150Open ronnix/fabtools/fabtools/require/opkg.py package/original