Code review comment for lp://staging/~ted/ubuntu/raring/ubuntu-drivers-common/nvidia-experimental-number

Revision history for this message
Alberto Milone (albertomilone) wrote :

I'm pretty sure I've already fixed this. The following code (which precedes the one you edited) should prevent nvidia-detector from processing packages containing the "experimental" string in their name:

        for package in apt.Cache():
            if (not package.name.startswith('nvidia-')
                or 'updates' in package.name
                or 'experimental' in package.name):
                continue

« Back to merge proposal