1 diff -urNp grub-2.02-rc1.orig/util/grub-mkconfig_lib.in grub-2.02-rc1/util/grub-mkconfig_lib.in
2 --- grub-2.02-rc1.orig/util/grub-mkconfig_lib.in 2017-02-08 15:01:40.196320433 +0000
3 +++ grub-2.02-rc1/util/grub-mkconfig_lib.in 2017-02-08 15:01:59.899320211 +0000
4 @@ -187,6 +187,7 @@ grub_file_is_not_garbage ()
6 *.dpkg-*) return 1 ;; # debian dpkg
7 *.rpmsave|*.rpmnew) return 1 ;;
8 + *.bak|*~|.*.swp) return 1 ;; # backup and swap files from editors
9 README*|*/README*) return 1 ;; # documentation