grub/linguas.sh
2012-04-07 19:44:50 +02:00

20 lines
366 B
Bash
Executable file

#!/bin/sh
rsync -Lrtvz --exclude=ko.po translationproject.org::tp/latest/grub/ po
autogenerated="en@quot en@hebrew de@hebrew en@cyrillic en@greek en@arabic en@piglatin de_CH"
for x in $autogenerated; do
rm "po/$x.po";
done
(
(
cd po && ls *.po| cut -d. -f1
for x in $autogenerated; do
echo "$x";
done
) | sort | uniq | xargs
) >po/LINGUAS