mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-19 06:40:39 +02:00
ifcfg-rh: ignore .rpmnew files (rh #509621)
This commit is contained in:
parent
92db663514
commit
420ea0220c
2 changed files with 3 additions and 1 deletions
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue