From: Stefan Schantl Date: Fri, 16 Nov 2012 20:06:47 +0000 (+0100) Subject: Add update-lang-cache script. X-Git-Tag: v2.11-core65~1^2~40 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=7db34105f9ef59b269730e137f224e2848181ccf Add update-lang-cache script. This script can be used, to update the language cache if any strings will be added or modified. --- diff --git a/config/rootfiles/common/stage2 b/config/rootfiles/common/stage2 index 796e0f3237..001755520a 100644 --- a/config/rootfiles/common/stage2 +++ b/config/rootfiles/common/stage2 @@ -75,6 +75,7 @@ usr/local/bin/setddns.pl usr/local/bin/settime usr/local/bin/timecheck #usr/local/bin/uname +usr/local/bin/update-lang-cache usr/local/bin/vpn-watch #usr/local/include #usr/local/lib diff --git a/src/scripts/update-lang-cache b/src/scripts/update-lang-cache new file mode 100644 index 0000000000..971664ee23 --- /dev/null +++ b/src/scripts/update-lang-cache @@ -0,0 +1,3 @@ +#!/bin/sh +perl -e "require '//var/ipfire/lang.pl'; &Lang::BuildCacheLang" +