X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=tools%2Fcheck_langs.sh;h=cb7340922f19aedd314009ae6fc71923b9060b7b;hp=31bc4b229aa97adcc8dd9d1fee7d81a33d5f8671;hb=050080d67b5bf439ec6e39be0d4fa8f5ea311b36;hpb=8a5f0f44faa76acffea5202e5fad34990b40ae5b diff --git a/tools/check_langs.sh b/tools/check_langs.sh index 31bc4b229a..cb7340922f 100644 --- a/tools/check_langs.sh +++ b/tools/check_langs.sh @@ -1,8 +1,27 @@ #!/bin/bash +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### if [ ! -d ./langs/ ]; then - echo "Script can only be started from IPCop Source base directory" + echo "Script can only be started from IPFire Source base directory" exit 1 fi @@ -10,7 +29,6 @@ cat ./langs/de/cgi-bin/de.pl | grep \'.*\' | awk -F\' '{print $2}'| sort > /tmp/ cat ./langs/de/install/lang_de.c | grep TR_ | awk -F\ '{print $2}' > /tmp/de_install.$$ for i in ./langs/en; do - if [ "$i" == "./langs/.svn" ] ; then continue; fi language=`echo "$i" | awk -F/ '{ print $3 }'` echo "############################################################################"