def remove_major_minor_suffix(scripts):
    """Checks if executables already contain a "-MAJOR.MINOR" suffix. """
    minor_major_regex = re.compile("-\d.?\d?$")
    return [x for x in scripts if not minor_major_regex.search(x)]
Checks if executables already contain a "-MAJOR.MINOR" suffix.