summaryrefslogtreecommitdiff
path: root/dh_icons
diff options
context:
space:
mode:
authorJérémy Bobbio <lunar@debian.org>2014-12-28 16:21:46 +0000
committerNiels Thykier <niels@thykier.net>2015-01-01 17:46:50 +0100
commit8b2e8a7878a945b26dd9a5b227c2c9992cda0c00 (patch)
tree16697e5ebc90bd79a451115ef8ed3e9418ff1edd /dh_icons
parent3c2fb32f5c3a083f125bea09cebfe09a5497eceb (diff)
downloaddebhelper-8b2e8a7878a945b26dd9a5b227c2c9992cda0c00.tar.gz
dh_icons: output icon list in a stable order
We now sort the icon list in order to guarantee a stable output. This was preventing some packages to build reproducibly. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_icons')
-rwxr-xr-xdh_icons2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_icons b/dh_icons
index 916f1885..b506f1f9 100755
--- a/dh_icons
+++ b/dh_icons
@@ -61,7 +61,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
push @dirlist, "$baseicondir/$subdir" if $needs_cache;
}
if (@dirlist and ! $dh{NOSCRIPTS}) {
- my $list=join(" ", @dirlist);
+ my $list=join(" ", sort @dirlist);
autoscript($package,"postinst","postinst-icons","s%#DIRLIST#%$list%");
autoscript($package,"postrm","postrm-icons","s%#DIRLIST#%$list%");
}