1ea42b7 fix clear_presets() match pattern (RHBZ #1349664)

1 file Authored by adamwill 7 years ago, Committed by ausil 7 years ago,
    fix clear_presets() match pattern (RHBZ #1349664)
    
    - is a special character in lua matches; this effectively turns
    the match into `^8.*%.preset$`, meaning this function will wipe
    not just 80-*.preset but 8*.preset, including wiping out some
    other important preset files (like 85-display-manager.preset),
    unfortunately. See bug report for more details.
    
    Signed-off-by: Dennis Gilmore <dennis@ausil.us>
    
        
file modified
+1 -1