Subject: [PATCH] dircolors: update list of backup file extensions
From: Ville Skyttä <[email-masked]>
To: [email-masked]
Date: Mon, 12 Jun 2023 23:27:37 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* src/dircolors.hin: sort backup section by extension
* src/dircolors.hin: treat .dpkg-new and .dpkg-tmp as backup files
https://www.debian.org/doc/manuals/debian-handbook/sect.package-meta-information.en.html#sect.conffiles
* src/dircolors.hin: treat .crdownload (Chromium based browsers' partial
download) as a backup file
---
 src/dircolors.hin | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/dircolors.hin b/src/dircolors.hin
index 262e1b5ec..353831cdf 100644
--- a/src/dircolors.hin
+++ b/src/dircolors.hin
@@ -228,20 +228,23 @@ EXEC 01;32
 *~ 00;90
 *# 00;90
 .bak 00;90
+.crdownload 00;90
+.dpkg-dist 00;90
+.dpkg-new 00;90
+.dpkg-old 00;90
+.dpkg-tmp 00;90
 .old 00;90
 .orig 00;90
 .part 00;90
 .rej 00;90
+.rpmnew 00;90
+.rpmorig 00;90
+.rpmsave 00;90
 .swp 00;90
 .tmp 00;90
-.dpkg-dist 00;90
-.dpkg-old 00;90
 .ucf-dist 00;90
 .ucf-new 00;90
 .ucf-old 00;90
-.rpmnew 00;90
-.rpmorig 00;90
-.rpmsave 00;90
 
 #
 # Subsequent TERM or COLORTERM entries, can be used to add / override
-- 
2.25.1