diff options
author | Jérémy Bobbio <lunar@debian.org> | 2014-12-28 16:21:46 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-01-01 17:46:50 +0100 |
commit | 8b2e8a7878a945b26dd9a5b227c2c9992cda0c00 (patch) | |
tree | 16697e5ebc90bd79a451115ef8ed3e9418ff1edd /dh_icons | |
parent | 3c2fb32f5c3a083f125bea09cebfe09a5497eceb (diff) | |
download | debhelper-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-x | dh_icons | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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%"); } |