From 7db34105f9ef59b269730e137f224e2848181ccf Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 16 Nov 2012 21:06:47 +0100 Subject: [PATCH] Add update-lang-cache script. This script can be used, to update the language cache if any strings will be added or modified. --- config/rootfiles/common/stage2 | 1 + src/scripts/update-lang-cache | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 src/scripts/update-lang-cache 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" + -- 2.39.2