

def nopackages(pkg_list):
    "\n    Require several opkg packages to be uninstalled.\n\n    Example::\n\n        from fabtools import require\n\n        require.opkg.nopackages([\n            'perl',\n            'php5',\n            'ruby',\n        ])\n    "
    pkg_list = [pkg for pkg in pkg_list if is_installed(pkg)]
    if pkg_list:
        uninstall(pkg_list)

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