Kaydet (Commit) 5ac84cb1 authored tarafından Rolf Koetter's avatar Rolf Koetter Kaydeden (comit) Andras Timar

rebuild icon packs, if links.txt has been modified

Change-Id: I68df3ad8b79dbafdd795704bb66a31560a68a952
Reviewed-on: https://gerrit.libreoffice.org/6583Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst f46a685b
......@@ -75,6 +75,17 @@ for my $path (@custom_path) {
}
check_links(\%links);
# rebuild if links.txt has been modified
for my $path (@custom_path) {
my $links_file = $path."/links.txt";
if ((-e $links_file ) && ( -e $out_file )){
if ((stat($out_file))[9] < (stat($links_file))[9]){
$do_rebuild = 1;
print_message("$links_file has been modified.") if $verbose;
}
}
}
my $zip_hash_ref = create_zip_list($global_hash_ref, $module_hash_ref, $custom_hash_ref);
remove_links_from_zip_list($zip_hash_ref, \%links);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment