]> git.ipfire.org Git - people/ummeegge/ipfire-2.x.git/commitdiff
Add update-lang-cache script.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 16 Nov 2012 20:06:47 +0000 (21:06 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 17 Nov 2012 10:02:48 +0000 (11:02 +0100)
This script can be used, to update the language cache if any strings will be added
or modified.

config/rootfiles/common/stage2
src/scripts/update-lang-cache [new file with mode: 0644]

index 796e0f3237b4ed7e041452cd00e069a99cb1f30e..001755520a90e40def1100e0cbcf3a0e25b0c449 100644 (file)
@@ -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 (file)
index 0000000..971664e
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+perl -e "require '//var/ipfire/lang.pl'; &Lang::BuildCacheLang"
+