mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
include *.dpkg-bak in files to ignore
This commit is contained in:
parent
725328c209
commit
4f5686901b
3 changed files with 4 additions and 1 deletions
|
@ -63,6 +63,7 @@ struct ignored_suffix_t ignored_suffixes[] = {
|
|||
{ ".dpkg-new", 9, 1 },
|
||||
{ ".dpkg-old", 9, 1 },
|
||||
{ ".dpkg-dist", 10, 1 },
|
||||
{ ".dpkg-bak", 9, 1 },
|
||||
/* RPM packaging files have traditionally not been silently
|
||||
ignored */
|
||||
{ ".rpmnew", 7, 0 },
|
||||
|
|
|
@ -134,7 +134,8 @@ skip_profile() {
|
|||
# Silently ignore the dpkg files
|
||||
if [ "${profile%.dpkg-new}" != "${profile}" -o \
|
||||
"${profile%.dpkg-old}" != "${profile}" -o \
|
||||
"${profile%.dpkg-dist}" != "${profile}" ] ; then
|
||||
"${profile%.dpkg-dist}" != "${profile}" -o \
|
||||
"${profile%.dpkg-bak}" != "${profile}" ] ; then
|
||||
return 2
|
||||
fi
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
THIS WILL NOT PARSE!
|
Loading…
Add table
Reference in a new issue