diff options
author | Yorhel <git@yorhel.nl> | 2009-10-07 13:35:34 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-10-07 13:38:17 +0200 |
commit | de8d188a37b651a59a6460c0ead0e7aa4edab858 (patch) | |
tree | ca4ad19d682e98c797108ec820aff8e111973a2f /util/vndb.pl | |
parent | 2c7b95fb3dc6bb25ac4b4171fb881f9f587bd62f (diff) |
L10N: Extracted some common Javascript strings
Diffstat (limited to 'util/vndb.pl')
-rwxr-xr-x | util/vndb.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/util/vndb.pl b/util/vndb.pl index 609d47a8..f3c3036c 100755 --- a/util/vndb.pl +++ b/util/vndb.pl @@ -120,8 +120,9 @@ sub readskins { sub checkjs { my $script = "$ROOT/static/f/script.js"; + my $lastmod = [stat $script]->[9]; system "$ROOT/util/jsgen.pl" if (!-e $script && -x "$ROOT/static/f") - || (-e $script && -w $script && [stat $script]->[9] < [stat "$ROOT/data/script.js"]->[9]); + || (-e $script && -w $script && $lastmod < [stat "$ROOT/data/script.js"]->[9] || $lastmod < [stat "$ROOT/data/lang.txt"]->[9]); } |