ifcfg-rh: ignore .rpmnew files (rh #509621)

This commit is contained in:
Dan Williams 2009-11-11 17:22:59 -08:00
parent 92db663514
commit 420ea0220c
2 changed files with 3 additions and 1 deletions

View file

@ -29,6 +29,7 @@
#define TILDE_TAG "~"
#define ORIG_TAG ".orig"
#define REJ_TAG ".rej"
#define RPMNEW_TAG ".rpmnew"
#define IFCFG_DIR SYSCONFDIR"/sysconfig/network-scripts"

View file

@ -183,7 +183,8 @@ should_ignore_file (const char *filename)
&& !check_suffix (base, BAK_TAG)
&& !check_suffix (base, TILDE_TAG)
&& !check_suffix (base, ORIG_TAG)
&& !check_suffix (base, REJ_TAG))
&& !check_suffix (base, REJ_TAG)
&& !check_suffix (base, RPMNEW_TAG))
ignore = FALSE;
g_free (base);