Subject: [PATCH] symlink_duplicates.sh: order by name for reproducibility

From: Jochen Sprickerhof <[email-masked]>
Date: Wed, 15 Jul 2026 21:17:37 +0200

fdupes orders files by modification time by default. This leads to
randomness and makes the package not reproducibility. Order by filename
instead.
---
 debian/symlink_duplicates.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/symlink_duplicates.sh b/debian/symlink_duplicates.sh
index de190f1..82867e0 100644
--- a/debian/symlink_duplicates.sh
+++ b/debian/symlink_duplicates.sh
@@ -13,7 +13,7 @@ symlink_root=${1/%\//}
 symlink_search_path=$2
 
 target=""
-fdupes -qr $symlink_search_path | while read line; do
+fdupes -o name -qr $symlink_search_path | while read line; do
 	if [ -z "$line" ]; then
 		# New group of duplicate files begins
 		target=""
-- 
2.53.0