Skip to contentSkip to conversation

Files left by the rpm package manager should be considered garbage

PATCH In review Mads Kiilerich 2 participants 2 messages Apr 6, 2012 – Apr 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Files left by the rpm package manager should be considered garbage

*.rpmnew and *.rpmsave files left by the rpm package manager should be considered garbage too - especially when found in /etc/grub.d .

2012-04-06 Mads Kiilerich <[email protected]>

* grub-mkconfig_lib.in: ignore *.rpmnew and *.rpmsave .

=== modified file 'util/grub-mkconfig_lib.in'

grub-mkconfig_lib.in +1 -0
@@ -177,6 +177,7 @@
   if test -f "$1" ; then
     case "$1" in
       *.dpkg-*) return 1 ;; # debian dpkg
+      *.rpmsave|*.rpmnew) return 1 ;;
       README*|*/README*)  return 1 ;; # documentation
     esac
   else